Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Persistent SSH Tunnels
(view source)
Revision as of 02:21, 10 November 2018
30 bytes added
,
5 years ago
m
→Setup script
Line 53:
Line 53:
# on seal to pass data.
# on seal to pass data.
−
su -s /bin/sh autossh -c 'autossh -M 0 -N -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -o "ExitOnForwardFailure=yes" -f -T -R localhost:<target port>:<local IP or localhost>:<local port> <user>@<domain>'
+
su -s /bin/sh autossh -c 'autossh -M 0 -N -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -o "ExitOnForwardFailure=yes" -f -T -R
<target IP or
localhost
>
:<target port>:<local IP or localhost>:<local port> <user>@<domain>'
</pre>
</pre>
Line 60:
Line 60:
! Parameter !! Description
! Parameter !! Description
|-
|-
−
| localhost || localhost or IP address on target system
+
|
<target IP or
localhost
>
|| localhost or IP address on target system
|-
|-
| <target port> || port on target system
| <target port> || port on target system
Kg7qin
ASL-Corp members
,
Bureaucrats
,
Check users
,
Structured Discussions bots
, oversight,
Suppressors
,
Administrators
,
Upload Wizard campaign editors
1,714
edits
Navigation menu
Personal tools
English
Log in
Request account
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Links
Web Portal
Help Desk
Node Status
System Status
Mailing List
r/PTTLink on Reddit
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Upload file
Special pages
Printable version