mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-22 02:09:23 +02:00
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:
parent
76bbbfd67b
commit
518df41049
1
ssh.py
1
ssh.py
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user