Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPrivateKey ¶
LoadPrivateKey load from file and parse private key
func LoadPrivateKey2AuthMethod ¶
func LoadPrivateKey2AuthMethod(filename string, passPhrase ...[]byte) (ssh.AuthMethod, error)
LoadPrivateKey2AuthMethod load from file and parse private key file to ssh.AuthMethod
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.