Fabric displays Disconnecting from username@server... done.for almost 2 minutes before displaying a new command line whenever I issue the fab command.
This issue exists when using Fabric commands issued for both the back-end server and the Rackspace cloud server. Below I turned on auth.log from the server, and did not see anything in the logs on my MacBook.
Any thoughts on what the problem is?
SSH auth.log server with LogLevel VERBOSE
Apr 21 13:30:52 qsandbox01 sshd[19503]: Accepted password for mrankin from 10.10.100.106 port 52854 ssh2
Apr 21 13:30:52 qsandbox01 sshd[19503]: pam_unix(sshd:session): session opened for user mrankin by (uid=0)
Apr 21 13:30:52 qsandbox01 sudo: mrankin : TTY=unknown ; PWD=/home/mrankin ; USER=root ; COMMAND=/bin/bash -l -c apache2ctl graceful
Apr 21 13:30:53 qsandbox01 sshd[19503]: pam_unix(sshd:session): session closed for user mrankin
Server configuration
- OS: Ubuntu 9.10 and Ubuntu 6.10 (tested 4 servers with these OSs)
- OpenSSH: Ubuntu Package Version 1.5.1p1-6ubuntu2
Client configuration
- OS: Mac OS X 10.6.3
- Fabric ver 0.9
- Vritualenv ver 1.4.7
- pip ver 0.7
Simple fabfile.py Used for testing
, fab -H server_ip host_type .
from fabric.api import run
def host_type():
run('uname -s')
, , , , Fabric.
virtualenv, virtualenv 1.4.7, virtualenvwrapper 2.1 pip 0.7. , , , .OS X. OS X, , .