Closed mrkschan closed 7 years ago
This patch initiailzes ssh.ClientConfig once only and provides all available ssh.AuthMethod to it. That says, if both SSH private key and SSH agent is available, they will all be used in the SSH authentication process.
LGTM
Thanks for the PRs @mrkschan
This patch initiailzes ssh.ClientConfig once only and provides all available ssh.AuthMethod to it. That says, if both SSH private key and SSH agent is available, they will all be used in the SSH authentication process.