Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAuthorizedKey ¶
?? path: /home/account/.ssh/id_rsa.pub
func LoadKnownHosts ¶
?? path: /home/account/.ssh/known_hosts
Types ¶
type Proxy ¶
type Proxy struct { SSH_Address string `mapstructure:"ssh_address"` SSH_User string `mapstructure:"ssh_user"` SSH_Password string `mapstructure:"ssh_password"` SSH_PrivateKey string `mapstructure:"ssh_private_key"` SSH_KnownHosts string `mapstructure:"ssh_known_hosts"` Socks5User string `mapstructure:"socks5_user"` Socks5Password string `mapstructure:"socks5_password"` *ssh.Client `mapstructure:"-"` Logger *Logger `mapstructure:"-"` }
func (*Proxy) Socks5Config ¶
func (self *Proxy) Socks5Config() (config *socks5.Config)
Click to show internal directories.
Click to hide internal directories.