-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/crypto/ssh: does not support ssh-agent forwarding #6223
Comments
this should be fixed in go.crypto/ssh . Can you update and try again? update notes are at https://docs.google.com/document/d/1nF2wlkIwuA4AXryOvE2p0hgQUbsyRYklKSot4ahH3Aw/edit#heading=h.ptdmtgjuyu8 |
agent forwarding is described here: https://www.vandyke.com/technology/draft-ietf-secsh-agent.txt basically, you do channel.SendRequest("auth-agent-req", true) before starting the session, and then route incoming NewChannel requests of type "auth-agent" to a connection to the SSH_AUTH_SOCK unix domain socket. Most of the legwork has been done here for you: https://godoc.org/golang.org/x/crypto/ssh/agent#RequestAgentForwarding |
by jamwt@dropbox.com:
The text was updated successfully, but these errors were encountered: