| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Darcs.Util.Ssh
Synopsis
- data SshSettings = SshSettings {}
 - defaultSsh :: SshSettings
 - windows :: Bool
 - copySSH :: String -> SshFilePath -> FilePath -> IO ()
 - data SSHCmd
 - getSSH :: SSHCmd -> IO (String, [String])
 - environmentHelpSsh :: ([String], [String])
 - environmentHelpScp :: ([String], [String])
 - environmentHelpSshPort :: ([String], [String])
 - transferModeHeader :: String
 - resetSshConnections :: IO ()
 
Documentation
data SshSettings Source #
Instances
| Show SshSettings Source # | |
Defined in Darcs.Util.Ssh Methods showsPrec :: Int -> SshSettings -> ShowS # show :: SshSettings -> String # showList :: [SshSettings] -> ShowS #  | |
| Eq SshSettings Source # | |
Defined in Darcs.Util.Ssh  | |
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.
environmentHelpSsh :: ([String], [String]) Source #
environmentHelpScp :: ([String], [String]) Source #
environmentHelpSshPort :: ([String], [String]) Source #
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.