Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sshuttle
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pub
sshuttle
Commits
a651d748
Commit
a651d748
authored
Nov 15, 2015
by
Brian May
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused code.
parent
fe48c7c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
__main__.py
sshuttle/__main__.py
+1
-8
sshuttle.md
sshuttle/sshuttle.md
+0
-5
No files found.
sshuttle/__main__.py
View file @
a651d748
...
...
@@ -4,7 +4,6 @@ import socket
import
sshuttle.helpers
as
helpers
import
sshuttle.options
as
options
import
sshuttle.client
as
client
import
sshuttle.server
as
server
import
sshuttle.firewall
as
firewall
import
sshuttle.hostwatch
as
hostwatch
from
sshuttle.helpers
import
family_ip_tuple
,
log
,
Fatal
...
...
@@ -112,7 +111,6 @@ def parse_list(list):
optspec
=
"""
sshuttle [-l [ip:]port] [-r [username@]sshserver[:port]] <subnets...>
sshuttle --server
sshuttle --firewall <port> <subnets...>
sshuttle --hostwatch
--
...
...
@@ -150,12 +148,7 @@ if opt.wrap:
helpers
.
verbose
=
opt
.
verbose
try
:
if
opt
.
server
:
if
len
(
extra
)
!=
0
:
o
.
fatal
(
'no arguments expected'
)
server
.
latency_control
=
opt
.
latency_control
sys
.
exit
(
server
.
main
())
elif
opt
.
firewall
:
if
opt
.
firewall
:
if
len
(
extra
)
!=
6
:
o
.
fatal
(
'exactly six arguments expected'
)
port
,
dnsport
=
int
(
extra
[
0
]),
int
(
extra
[
1
])
...
...
sshuttle/sshuttle.md
View file @
a651d748
...
...
@@ -147,11 +147,6 @@ entire subnet to the VPN.
*pidfilename*
. The default is
`sshuttle.pid`
in the
current directory.
--server
: (internal use only) run the sshuttle server on
stdin/stdout. This is what the client runs on
the remote end.
--firewall
: (internal use only) run the firewall manager. This is
the only part of sshuttle that must run as root. If
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment