Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SSH key forwarding #72
Paramiko doesn't support this feature yet. Either add it to Paramiko/our fork of Paramiko, or do some horrible workaround like a subprocess doing
See also this LincolnLoop blog post which uses a "route stuff through local()" approach. Not a panacea (doesn't mesh with actual execution strategy; won't pick up any of the context managers like cd(); etc) but still worth investigating as a temporary workaround.
Originally submitted by Jeff Forcier (bitprophet) on 2009-10-25 at 07:05pm EDT
Charles Leifer (coleifer) posted:
I'm using the lincolnloop approach with a small tweak to use the context managers::
on 2010-05-08 at 08:23pm EDT
Johan Charpentier (cyberj) posted:
The previous pull request is closed. The new paramiko's pull request using the same patch is here
But robey need some tests with this patch and I don't know how to test this.
So, if people want to see this issue solved, feel free to improve the pull request with some tests :)
After this pull request, its easy to patch Fabric code
on 2011-06-19 at 08:45am EDT
Ok, I forked the ssh library and ported over the pull request mentioned above. Just had to fix a couple of conflicts, but nothing major.
If anyone knows a good way to write tests for this, that'd be great. At the very least I guess it would be good for people to test it out and provide feedback. If anyone wants to try it out right now, you can install ssh from my fork, and then install fabric from my fork (which just adds the couple of lines needed).
This was referenced
Nov 18, 2011
referenced this issue
Dec 16, 2011
"Feature" issues are only released in minor releases; this isn't exactly a bugfix :) see Development for how we release stuff.
Or just look at the Milestone field here on Github ;) it's marked for 1.4. I expect 1.3.4 and 1.4 to be out relatively close to each other, probably within a week or two depending on how my day job goes.