Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentSSHKeyManager ¶
type AgentSSHKeyManager struct{}
AgentSSHKeyManager is an implementation of SSHKeyManager that reads SSH keys from an SSH agent.
func (AgentSSHKeyManager) ReadPrivateKeys ¶
func (km AgentSSHKeyManager) ReadPrivateKeys(_ string) ([]ssh.Signer, error)
ReadPrivateKeys reads private keys from the SSH agent.
type FileSSHKeyManager ¶
type FileSSHKeyManager struct{}
FileSSHKeyManager is an implementation of SSHKeyManager that reads SSH keys from disk.
func (FileSSHKeyManager) ReadPrivateKeys ¶
func (km FileSSHKeyManager) ReadPrivateKeys(keyPassphrase string) ([]ssh.Signer, error)
ReadPrivateKeys reads private keys from the user's home directory.
Click to show internal directories.
Click to hide internal directories.