darcs-2.11.0: a distributed, interactive, smart revision control system

Safe HaskellNone

Darcs.Util.Ssh

Synopsis

Documentation

data SshSettings

Constructors

SshSettings 

Fields

ssh :: String
 
scp :: String
 
sftp :: String
 

data SSHCmd

Constructors

SSH 
SCP 
SFTP 

getSSH :: SSHCmd -> IO (String, [String])

Return the command and arguments needed to run an ssh command First try the appropriate darcs environment variable and SSH_PORT defaulting to ssh and no specified port.