Documentation ¶
Index ¶
- func Dial(hostname string) (*ssh.ClientConn, error)
- func GetLocalDigest(conn *ssh.ClientConn, folder string) (map[string]string, error)
- func GetRemoteDigest(conn *ssh.ClientConn, folder string) (map[string]string, error)
- func Run(conn *ssh.ClientConn, cmd string) (string, error)
- func SendFile(conn *ssh.ClientConn, local, remote string) error
- func SyncFolder(conn *ssh.ClientConn, local, remote string) error
- type KeyChain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
func Dial(hostname string) (*ssh.ClientConn, error)
Dial a hostname, intelligently using your local ssh settings to do so
func GetLocalDigest ¶
func GetRemoteDigest ¶
func SyncFolder ¶
func SyncFolder(conn *ssh.ClientConn, local, remote string) error
Types ¶
type KeyChain ¶
type KeyChain struct {
// contains filtered or unexported fields
}
func GetKeyChain ¶
Click to show internal directories.
Click to hide internal directories.