darcs-2.18.2: a distributed, interactive, smart revision control system
Safe HaskellNone
LanguageHaskell2010

Darcs.Util.Ssh

Synopsis

Documentation

data SshSettings #

Constructors

SshSettings 

Fields

Instances

Instances details
Show SshSettings # 
Instance details

Defined in Darcs.Util.Ssh

Eq SshSettings # 
Instance details

Defined in Darcs.Util.Ssh

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.

resetSshConnections :: IO () #

Terminate all child processes that run a remote "darcs transfer-mode" and remove them from the sshConnections, causing subsequent copySSH calls to start a fresh child.