File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 4
4
import sshuttle .helpers as helpers
5
5
import sshuttle .options as options
6
6
import sshuttle .client as client
7
- import sshuttle .server as server
8
7
import sshuttle .firewall as firewall
9
8
import sshuttle .hostwatch as hostwatch
10
9
from sshuttle .helpers import family_ip_tuple , log , Fatal
@@ -112,7 +111,6 @@ def parse_list(list):
112
111
113
112
optspec = """
114
113
sshuttle [-l [ip:]port] [-r [username@]sshserver[:port]] <subnets...>
115
- sshuttle --server
116
114
sshuttle --firewall <port> <subnets...>
117
115
sshuttle --hostwatch
118
116
--
@@ -150,12 +148,7 @@ def parse_list(list):
150
148
helpers .verbose = opt .verbose
151
149
152
150
try :
153
- if opt .server :
154
- if len (extra ) != 0 :
155
- o .fatal ('no arguments expected' )
156
- server .latency_control = opt .latency_control
157
- sys .exit (server .main ())
158
- elif opt .firewall :
151
+ if opt .firewall :
159
152
if len (extra ) != 6 :
160
153
o .fatal ('exactly six arguments expected' )
161
154
port , dnsport = int (extra [0 ]), int (extra [1 ])
Original file line number Diff line number Diff line change @@ -147,11 +147,6 @@ entire subnet to the VPN.
147
147
* pidfilename* . The default is ` sshuttle.pid ` in the
148
148
current directory.
149
149
150
- --server
151
- : (internal use only) run the sshuttle server on
152
- stdin/stdout. This is what the client runs on
153
- the remote end.
154
-
155
150
--firewall
156
151
: (internal use only) run the firewall manager. This is
157
152
the only part of sshuttle that must run as root. If
You can’t perform that action at this time.
0 commit comments