Versions in this module Expand all Collapse all v0 v0.1.0 Jan 6, 2016 Changes in this version + type Client struct + Config *Config + func New(config *Config) (client *Client) + func (client *Client) Connect() error + func (client *Client) Copy(srcPath, destPath string) error + func (client *Client) CopyDir(srcPath, destination string) error + func (client *Client) CopyFile(srcPath, destination string) error + func (client *Client) Disconnect() + func (client *Client) Download(srcPath, destination string) error + func (client *Client) Execute(command string) (string, error) + func (client *Client) InitIOPipes(session *ssh.Session) error + func (client *Client) Shell() error + func (client *Client) StartSession(bindIOStreams bool, createPty bool) (*ssh.Session, error) + func (client *Client) TryConnection() error + type Config struct + AuthFile string + BindIOStreams bool + Config *ssh.ClientConfig + CreatePty bool + Host string + Password string + Port int + SSHAgent bool + User string + func NewConfig(uri string, authFile string, sshAgent bool, createPty bool, bindIoStreams bool) *Config + func (config *Config) AuthViaKey(file string) ssh.AuthMethod + func (config *Config) AuthViaPassword(pass string) ssh.AuthMethod + func (config *Config) AuthViaSSHAgent() ssh.AuthMethod + func (config *Config) GetAuthConfig() (*ssh.ClientConfig, error)