No one? I've been trying to work this one out for over a week now, and no matter how I try this doesn't seem to work at all. Any help would be appreciated. If it's a bug I'd also like to know to stop banging my head with the settings. Even using fab tool and a fabfile.py like this:
$ cat fabfile.py
from fabric.api import run
def host_type():
run('uname -a')
$ fab -f fabfile.py -H
host.org:4242 -k host_type --user adrian --gateway
address@hidden:22
[
host.org:4242] Executing task 'host_type'
[
host.org:4242] run: uname -a
[
host.org:4242] Login password for 'adrian':
[
host.org:4242] Login password for 'adrian':
It stalls there forever. Then I Ctrl-C and get this:
^C
Stopped.
Disconnecting from address@hidden done.
And stalls again.Then I Ctrl-C on that one too and get this:
^CError in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/Library/Python/2.7/site-packages/paramiko/transport.py", line 65, in _join_lingering_threads
thr.stop_thread()
File "/Library/Python/2.7/site-packages/paramiko/transport.py", line 1395, in stop_thread
self.join(10)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 653, in join
self.__block.wait(delay)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 257, in wait
_sleep(delay)
KeyboardInterrupt
Error in sys.exitfunc:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/Library/Python/2.7/site-packages/paramiko/transport.py", line 65, in _join_lingering_threads
thr.stop_thread()
File "/Library/Python/2.7/site-packages/paramiko/transport.py", line 1395, in stop_thread
self.join(10)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 653, in join
self.__block.wait(delay)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 257, in wait
_sleep(delay)
KeyboardInterrupt
Thanks!
Kind Regards,
Adrian