Documentation ¶
Index ¶
- func ConnectToClient(connCtx context.Context, opts *SSHOpts) (*ssh.Client, error)
- func CpHostToRemote(client *ssh.Client, sourcePath string, destPath string) error
- func DetectShell(client *ssh.Client) (string, error)
- func DialContext(ctx context.Context, network string, addr string, config *ssh.ClientConfig) (*ssh.Client, error)
- func GetClientArch(client *ssh.Client) (string, error)
- func GetClientOs(client *ssh.Client) (string, error)
- func GetHomeDir(client *ssh.Client) string
- func GetWshPath(client *ssh.Client) string
- func GetWshVersion(client *ssh.Client) (string, error)
- func InstallClientRcFiles(client *ssh.Client) error
- func IsPowershell(shellPath string) bool
- func NormalizeConfigPattern(pattern string) string
- type HostKeyAlgorithms
- type SSHOpts
- type SshKeywords
- type UserInputCancelError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToClient ¶
func CpHostToRemote ¶
func DialContext ¶
func GetHomeDir ¶
func GetWshPath ¶
func InstallClientRcFiles ¶
func IsPowershell ¶
func NormalizeConfigPattern ¶
Types ¶
type HostKeyAlgorithms ¶
type SSHOpts ¶
type SshKeywords ¶
type UserInputCancelError ¶
type UserInputCancelError struct {
Err error
}
func (UserInputCancelError) Error ¶
func (uice UserInputCancelError) Error() string
Click to show internal directories.
Click to hide internal directories.