Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try all available ssh.AuthMethod to establish SSH session #12

Merged

Conversation

mrkschan
Copy link
Collaborator

According to docs, only the first instance of ClientConfig.Auth will be
used during authentication. We have to create a retry loop.

See https://godoc.org/golang.org/x/crypto/ssh#ClientConfig

KS Chan added 3 commits January 27, 2017 10:56
According to docs, only the first instance of ClientConfig.Auth will be
used during authentication. We have to create a retry loop.

See https://godoc.org/golang.org/x/crypto/ssh#ClientConfig
This allows printing error message using the realpath when the identify
file is default one.
@crosbymichael
Copy link
Owner

LGTM

@crosbymichael crosbymichael merged commit a0b3319 into crosbymichael:master Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants