This is part of the Fake.Net.SSH module.

SSH

Contains a task which allows to perform SSH operations

Nested types and modules

TypeDescription
SSHParams

The SSH parameter type.

Functions and values

Function or valueDescription
SSH.buildArguments sshParams command
Signature: sshParams:SSHParams -> command:string -> string
SSH.SSH setParams command
Signature: setParams:(SSHParams -> SSHParams) -> command:string -> unit

Performs a command via SSH.

Parameters

  • setParams - Function used to manipulate the default SSHParams value.
  • command - The target path. Can be something like user@host:directory/TargetFile or a local path.

Sample

1: 
SSH (fun p -> { p with ToolPath = "tools/ssh.exe" }) command
SSH.SSHDefaults
Signature: SSHParams

The SSH default parameters