Documentation ¶
Index ¶
- func ChangeSambaPass(ctx context.Context, sc *ssh.Client, user string, pwd string) error
- func ChangeUnixPass(ctx context.Context, sc *ssh.Client, user string, pwd string) error
- func GenerateSSHKey() (ssh.Signer, []byte, error)
- func NewSSHSession(ctx context.Context, timeout time.Duration, sc *ssh.Client, ...) error
- func NewSSHSessionWithDelayedTimeout(ctx context.Context, timeout time.Duration, sc *ssh.Client, ...) error
- func RunSSHCmd(ctx context.Context, sc *ssh.Client, cmd string) ([]byte, error)
- type ChangePassFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeSambaPass ¶
func ChangeUnixPass ¶
func NewSSHSession ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.