Documentation ¶
Overview ¶
Package ssh and its subpackages provide functionality for building SSH clients and servers on top of golang.org/x/crypto/ssh.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateKeyConfig ¶
type PrivateKeyConfig struct { File string `json:"file" yaml:"file"` Passphrase string `json:"passphrase" yaml:"passphrase"` }
PrivateKeyConfig is the configuration of an SSH private key.
func (PrivateKeyConfig) Build ¶
func (c PrivateKeyConfig) Build() (ssh.Signer, error)
Build builds an ssh.Signer from the configuration.
func (PrivateKeyConfig) Validate ¶
func (c PrivateKeyConfig) Validate() error
Validate validates the configuration and returns an error if it is not valid.
Directories ¶
Path | Synopsis |
---|---|
Package aws provides an ssh.Signer on top of AWS KMS.
|
Package aws provides an ssh.Signer on top of AWS KMS. |
cmd
|
|
Package sshclient provides configuration structs for constructing SSH clients.
|
Package sshclient provides configuration structs for constructing SSH clients. |
Click to show internal directories.
Click to hide internal directories.