ssh.py: don't os.setsid().

This prevents ssh from asking for a password successfully.  Error reported
by Chetan Kunte.
This commit is contained in:
Avery Pennarun 2010-10-01 11:35:13 -07:00
parent 76bbbfd67b
commit 518df41049

1
ssh.py
View File

@ -55,7 +55,6 @@ def connect(rhostport, python):
def setup():
# runs in the child process
s2.close()
os.setsid()
s1a,s1b = os.dup(s1.fileno()), os.dup(s1.fileno())
s1.close()
debug2('executing: %r\n' % argv)