summaryrefslogtreecommitdiffstats
path: root/sshuttle/ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'sshuttle/ssh.py')
-rw-r--r--sshuttle/ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshuttle/ssh.py b/sshuttle/ssh.py
index f4c84cc..a1f2997 100644
--- a/sshuttle/ssh.py
+++ b/sshuttle/ssh.py
@@ -116,7 +116,7 @@ def connect(ssh_cmd, rhostport, python, stderr, options):
if python:
pycmd = "'%s' -c '%s'" % (python, pyscript)
else:
- pycmd = ("P=python3.5; $P -V 2>/dev/null || P=python; "
+ pycmd = ("P=python3; $P -V 2>/dev/null || P=python; "
"exec \"$P\" -c %s") % quote(pyscript)
pycmd = ("exec /bin/sh -c %s" % quote(pycmd))
argv = (sshl +