darcs-2.18.4: a distributed, interactive, smart revision control system
Safe HaskellSafe-Inferred
LanguageHaskell2010

Darcs.Util.Ssh

Synopsis

Documentation

data SshSettings Source #

Constructors

SshSettings 

Fields

Instances

Instances details
Show SshSettings Source # 
Instance details

Defined in Darcs.Util.Ssh

Eq SshSettings Source # 
Instance details

Defined in Darcs.Util.Ssh

data SSHCmd Source #

Constructors

SSH 
SCP 
SFTP 

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

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 () Source #

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.