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

Document AgentRequestHandler #516

toejough opened this issue Apr 27, 2015 · 2 comments

Document AgentRequestHandler #516

toejough opened this issue Apr 27, 2015 · 2 comments


Copy link

As far as I can tell, to do proper ssh-agent forwarding, you need to use the paramiko.agent.AgentRequestHandler API. Also as far as I can tell, it's not documented.

I checked Paramiko's docs, but could not figure out how to do ssh-agent forwarding. I ended up finding out how by reading pull requests/bugs for ssh-agent forwarding features in frameworks that use Paramiko under the covers, like fabric and ansible.

I wrote a gist about what I found and how I use the API.

This API should be documented.

@bitprophet bitprophet added this to the 1.13.4 / 1.14.3 / 1.15.3 milestone May 5, 2015
Copy link

Thanks for this! Will review & append when I get to the next bugfix milestone.

Copy link

I used paramikio as a ssh server,but sth really made me soconfused, who can help me.

when user log onto the jumpserver and ssh to the remote server. sth is wrong
I found _agent.get_keys() is empty though allow_agent is true
how can i got the agent keys

2、whether I can turn on the SSH agent forwarding use paramiko as the OpenSSH does

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

3 participants