Documentation ¶ Index ¶ func LoadPrivateKeyFromFile(filename, passphrase string) (ssh.Signer, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func LoadPrivateKeyFromFile ¶ func LoadPrivateKeyFromFile(filename, passphrase string) (ssh.Signer, error) LoadPrivateKeyFromFile loads an SSH private key from a file and returns a signer. Supports passphrase-protected keys for RSA, ECDSA, and Ed25519 key types. Types ¶ This section is empty. Source Files ¶ View all Source files ssh.go Click to show internal directories. Click to hide internal directories.