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 GetSSHCommand ¶
func WaitForTCP ¶
Types ¶
type KeyPair ¶
func NewKeyPair ¶
Generate a new SSH keypair This will return a private & public key encoded as DER.
func (*KeyPair) Fingerprint ¶
Calculate the fingerprint of the public key
Click to show internal directories.
Click to hide internal directories.