diff options
author | Avery Pennarun <apenwarr@gmail.com> | 2010-10-01 11:35:13 -0700 |
---|---|---|
committer | Avery Pennarun <apenwarr@gmail.com> | 2010-10-01 11:35:13 -0700 |
commit | 518df41049692c8f4efec840fe246ee2f164f28e (patch) | |
tree | 7fdbf1135416e30218e3973afb14ce5b3122ea0c | |
parent | 76bbbfd67b14ae8f6541ba1fc321f27f359362c6 (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.py | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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) |