Documentation
¶
Index ¶
- func AuthPassword(password string) ssh.AuthMethod
- func AuthPasswordCallback(fn func() (string, error)) ssh.AuthMethod
- func AuthPrivateKey(key []byte) ssh.AuthMethod
- func AuthPrivateKeyWithPassphrase(key []byte, passphrase string) ssh.AuthMethod
- type Hop
- type Hops
- type WebSSH
- type WebSSHSession
- func (ws *WebSSHSession) Close() error
- func (ws *WebSSHSession) Control(data []byte) error
- func (ws *WebSSHSession) Open() error
- func (ws *WebSSHSession) Read(p []byte) (n int, err error)
- func (ws *WebSSHSession) SetWinSize(cols, rows int) error
- func (ws *WebSSHSession) Write(p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthPassword ¶
func AuthPassword(password string) ssh.AuthMethod
func AuthPasswordCallback ¶
func AuthPasswordCallback(fn func() (string, error)) ssh.AuthMethod
func AuthPrivateKey ¶
func AuthPrivateKey(key []byte) ssh.AuthMethod
func AuthPrivateKeyWithPassphrase ¶
func AuthPrivateKeyWithPassphrase(key []byte, passphrase string) ssh.AuthMethod
Types ¶
type WebSSHSession ¶
type WebSSHSession struct {
WebSSH
// contains filtered or unexported fields
}
func (*WebSSHSession) Close ¶
func (ws *WebSSHSession) Close() error
func (*WebSSHSession) Control ¶
func (ws *WebSSHSession) Control(data []byte) error
func (*WebSSHSession) Open ¶
func (ws *WebSSHSession) Open() error
func (*WebSSHSession) SetWinSize ¶
func (ws *WebSSHSession) SetWinSize(cols, rows int) error
Click to show internal directories.
Click to hide internal directories.