Browse files


Re #275, re #19
  • Loading branch information...
1 parent 9e6564a commit b7788f5055f9d5e53bb01f21b8ae27690b7a57aa @bitprophet bitprophet committed Oct 23, 2011
Showing with 7 additions and 7 deletions.
  1. +1 −1 fabric/
  2. +1 −1
  3. +1 −1 tests/
  4. +1 −1 tests/
  5. +2 −2 tests/
  6. +1 −1 tests/
@@ -18,7 +18,7 @@
import warnings
warnings.simplefilter('ignore', DeprecationWarning)
- import paramiko as ssh
+ import ssh
except ImportError, e:
print >> sys.stderr, """There was a problem importing our SSH library. Specifically:
@@ -38,7 +38,7 @@
tests_require=['nose', 'fudge<1.0'],
- install_requires=['paramiko>='],
+ install_requires=['ssh>=1.7.8'],
'console_scripts': [
'fab = fabric.main:main',
@@ -3,7 +3,7 @@
from StringIO import StringIO
from types import StringTypes
-import paramiko as ssh
+import ssh
class FakeFile(StringIO):
@@ -14,7 +14,7 @@
from functools import wraps
from Python26SocketServer import BaseRequestHandler, ThreadingMixIn, TCPServer
-import paramiko as ssh
+import ssh
from fabric.operations import _sudo_prefix
from fabric.api import env, hide
@@ -5,7 +5,7 @@
import getpass
import sys
-import paramiko
+import ssh
from import with_setup, ok_
from fudge import (Fake, clear_calls, clear_expectations, patch_object, verify,
with_patched_object, patched_context, with_fakes)
@@ -159,7 +159,7 @@ def test_connection_cache_deletion(self):
def test_saved_authentication_returns_client_object(self):
cache = HostConnectionCache()
- assert isinstance(cache[env.host_string], paramiko.SSHClient)
+ assert isinstance(cache[env.host_string], ssh.SSHClient)
@@ -9,7 +9,7 @@
__test__ = False
from import eq_, ok_
-import paramiko as ssh
+import ssh
from server import FakeSFTPServer

4 comments on commit b7788f5

Does this fixes the agent forwarding issue?


bitprophet replied Oct 23, 2011

Not sure if you saw the comment on #275 but no, it does not, it only adds a tiny tweak required for #19. However it gives us the ability to try and implement some of those additional patches now, on our own schedule. Depending how things go I will make new tickets under the ssh repository for the various things mentioned in #275.

To have ssh agent forward support would be awesome. Let me know if there's any way I can help.


bitprophet replied Oct 24, 2011

@fesplugas - The specific issue for agent forwarding is #72. If you check the third-from-last comment there are some notes about a patch in the Paramiko issue tracker and some patch to apply to Fabric. Testing those out in tandem, if you're able, would be the best way to help.

It would require checking out the new ssh project and Fabric's master branch, pip install -e-ing them in a virtualenv, and then hacking + testing. Easy if you're used to this sort of workflow, a bit complicated if you're not. No pressure :)

Please sign in to comment.