Module Ketrew_pure.Host.Ssh

module Ssh: sig .. end
Definitions specific to “SSH” hosts (see Ketrew_pure.Host.connection).

type t = {
   address : string;
   port : int option;
   user : string option;
   add_ssh_options : string list;
}
val to_yojson : t -> Yojson.Safe.json
val of_yojson : Yojson.Safe.json ->
t Ppx_deriving_yojson_runtime.error_or
The type of SSH-based hosts.
val configure_ssh_batch_option : [ `Custom of string | `Dropbear | `Openssh ] -> unit
Configure global “Batch option”, (call ssh without password/question):
val ssh_batch_option : t -> string
Get the right option for the SSH client, for now this does not actually depend on the Host.