Eric, Try inserting the following three lines into your ~/.ssh/config file:
ServerAliveInterval 300 ServerAliveCountMax 3 TCPKeepAlive yes Let us know if this fixes the problem. Sergey On Fri, Jan 29, 2010 at 4:09 PM, Erik Wickstrom <e...@erikwickstrom.com>wrote: > After my script runs for a few minutes, It will sometimes crash with this > traceback: > > % run: mkdir -p /home/linx/web/public_html; > Traceback (most recent call last): > File "build/bdist.linux-x86_64/egg/fabric/main.py", line 419, in main > File "/root/wp-deploy/fabfile.py", line 34, in deploy > d.file_upload() > File "/root/wp-deploy/fabfile.py", line 132, in file_upload > run("mkdir -p %s;" % path) > File "build/bdist.linux-x86_64/egg/fabric/network.py", line 382, in > host_prompting_wrapper > File "build/bdist.linux-x86_64/egg/fabric/operations.py", line 419, in > run > File "build/bdist.linux-x86_64/egg/paramiko/channel.py", line 212, in > exec_command > File "build/bdist.linux-x86_64/egg/paramiko/channel.py", line 1077, in > _wait_for_event > paramiko.SSHException: Channel closed. > Disconnecting from server1... done. > > Any idea what could be causing it? I'm running Fabric 0.9.0 > > Thanks! > Erik > > _______________________________________________ > Fab-user mailing list > Fab-user@nongnu.org > http://lists.nongnu.org/mailman/listinfo/fab-user > >
_______________________________________________ Fab-user mailing list Fab-user@nongnu.org http://lists.nongnu.org/mailman/listinfo/fab-user