Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GenerateSSHKey ¶
Generate SSH keypair based on path of the private key The public key would be generated to the same path with ".pub" added
func WaitForTCP ¶
Types ¶
type Client ¶ added in v0.3.0
type Client struct { Config *ssh.ClientConfig Hostname string Port int }
type KeyPair ¶ added in v0.3.0
func NewKeyPair ¶ added in v0.3.0
Generate a new SSH keypair This will return a private & public key encoded as DER.
func (*KeyPair) Fingerprint ¶ added in v0.3.0
Calculate the fingerprint of the public key
Click to show internal directories.
Click to hide internal directories.