sshutil

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 93

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KnownHost added in v1.16.0

func KnownHost(host string, knownHosts string) bool

KnownHost checks if this host is in the knownHosts file

func NewSSHClient

func NewSSHClient(d drivers.Driver) (*ssh.Client, error)

NewSSHClient returns an SSH client object for running commands.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL