ssh.py: allow hostnames of the form hostname:port

Feature requested by Wayne Scott and Ed Maste.
This commit is contained in:
Avery Pennarun
2010-05-04 13:07:51 -04:00
parent 0cdd72c830
commit 8173925bcd
2 changed files with 8 additions and 3 deletions

View File

@ -45,7 +45,7 @@ def parse_ipport(s):
optspec = """
sshuttle [-l [ip:]port] [-r [username@]sshserver] <subnets...>
sshuttle [-l [ip:]port] [-r [username@]sshserver[:port]] <subnets...>
sshuttle --iptables <port> <subnets...>
sshuttle --server
--