modulepackage
0.0.0-20220111080955-99a36586cfcc
Repository: https://github.com/aucloud/go-sshutil.git
Documentation: pkg.go.dev
# README
sshutil
Forked from fuchsia's sshutil
Changes
Added:
- Export the underlying
ssh.Client
'sNewSession()
method.
License
Original works by The Fuchsia Authors licensed under the terms of hte BSD-style License from the Fuchsia project.
Modifications licensed under the same terms under the terms of the BSD License.
# Packages
No description provided by the author
# Functions
DefaultConnectBackoff is a sensible default for SSH clients.
DefaultSSHConfig returns a basic SSH client configuration.
DefaultSSHConfigFromSigners returns a basic SSH client configuration.
GeneratePrivateKey generates a private SSH key.
IsConnectionError determines whether the given error is a ConnectionError.
NewClient creates a new ssh client to the address.
# Structs
No description provided by the author
Conn is a wrapper around ssh that supports keepalive and auto-reconnection.
ConnectionError is an all-purpose error indicating that a client has become unresponsive.
ConstantAddrResolver allows a constant address to be resolved to itself.
Session is a wrapper around ssh.Session that allows operations to be canceled.
# Interfaces
Resolver produces a `net.Addr` for the sshutil connections.