summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvery Pennarun <apenwarr@gmail.com>2010-10-01 11:35:13 -0700
committerAvery Pennarun <apenwarr@gmail.com>2010-10-01 11:35:13 -0700
commit518df41049692c8f4efec840fe246ee2f164f28e (patch)
tree7fdbf1135416e30218e3973afb14ce5b3122ea0c
parent76bbbfd67b14ae8f6541ba1fc321f27f359362c6 (diff)
ssh.py: don't os.setsid().
This prevents ssh from asking for a password successfully. Error reported by Chetan Kunte.
-rw-r--r--ssh.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ssh.py b/ssh.py
index d790d4a..f8926d7 100644
--- a/ssh.py
+++ b/ssh.py
@@ -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)