package
0.0.0-20220815010309-a4a055b414b8
Repository: https://github.com/bingoohuang/golang-trial.git
Documentation: pkg.go.dev
# Functions
GetLastLine gets the last line of s.
MakeClientConfig makes a new ssh.ClientConfig.
PasswordKey returns the ssh.ClientConfig based on specified username and password.
PrivateKey loads a public key from "path" and returns a SSH ClientConfig to authenticate with the server.
PrivateKeyPassphrase returns the ssh.ClientConfig based on specified username, passphrase and path.