Module Ketrew_host.Ssh (.ml)

module Ssh: sig .. end
Definitions specific to “SSH” hosts (see Ketrew_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 -> [ `Error of string | `Ok of t ]
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.