Commit 518df410 authored by Avery Pennarun's avatar Avery Pennarun

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

This prevents ssh from asking for a password successfully.  Error reported
by Chetan Kunte.
parent 76bbbfd6
...@@ -55,7 +55,6 @@ def connect(rhostport, python): ...@@ -55,7 +55,6 @@ def connect(rhostport, python):
def setup(): def setup():
# runs in the child process # runs in the child process
s2.close() s2.close()
os.setsid()
s1a,s1b = os.dup(s1.fileno()), os.dup(s1.fileno()) s1a,s1b = os.dup(s1.fileno()), os.dup(s1.fileno())
s1.close() s1.close()
debug2('executing: %r\n' % argv) debug2('executing: %r\n' % argv)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment