Secure Shell: Difference between revisions
Jump to navigation
Jump to search
imported>Cov Created page with ''''Secure Shell''' or '''SSH''' is a secure means of controlling a remote machine. =Closing a Hung Session= Type enter, tilde, period, enter to exit a hung SSH session. =Tunnel…' |
Undo revision 2005 by [[Special:Contributions/imported>Pew|imported>Pew]] ([[User talk:imported>Pew|talk]]) Tag: Undo |
||
| (9 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
'''Secure Shell''' or '''SSH''' is a secure means of controlling a remote machine. | '''Secure Shell''' or '''SSH''' is a secure means of controlling a remote machine. | ||
=Closing a Hung Session= | ==Closing a Hung Session== | ||
Type enter, tilde, period, enter to exit a hung SSH session. | Type enter, tilde (~), period, enter to exit a hung SSH session. | ||
=Tunneling= | ==Tunneling== | ||
You can tunnel single ports or run a socks proxy with SSH. Google for SSH forwarding or see the howto below. | You can tunnel single ports or run a socks proxy with SSH. Google for SSH forwarding or see the howto below. | ||
=== Example === | |||
====Socks proxy==== | |||
This will open a Socks proxy on port 6969. Configure your applications to proxy through localhost:6969 to use the tunnel. | |||
ssh -D 6969 wadsworth@acidburn.vtluug.org | |||
=External Links= | ====Tunnel single port==== | ||
This opens a tunnel to milton.vtluug.org which is redirected through acidburn. | |||
ssh -L 6969:milton.vtluug.org:22 wadsworth@acidburn.vtluug.org | |||
now, on your machine, open a new shell, and run: | |||
ssh localhost -p 6969 -l wadsworth | |||
to ssh into milton as wadsworth. | |||
==See Also== | |||
* [[Proxies and VPN]] | |||
* [[Shell account tutorial]] | |||
==External Links== | |||
* [[w:Secure Shell|Wikipedia Article]] | * [[w:Secure Shell|Wikipedia Article]] | ||
* [http://dltj.org/article/ssh-as-socks-proxy/ SSH socks proxy howto] | * [http://dltj.org/article/ssh-as-socks-proxy/ SSH socks proxy howto] | ||
[[Category:Services]] | |||
[[Category:Howtos]] | |||
[[Category:Software]] | |||
Latest revision as of 02:35, 4 January 2019
Secure Shell or SSH is a secure means of controlling a remote machine.
Closing a Hung Session
Type enter, tilde (~), period, enter to exit a hung SSH session.
Tunneling
You can tunnel single ports or run a socks proxy with SSH. Google for SSH forwarding or see the howto below.
Example
Socks proxy
This will open a Socks proxy on port 6969. Configure your applications to proxy through localhost:6969 to use the tunnel.
ssh -D 6969 wadsworth@acidburn.vtluug.org
Tunnel single port
This opens a tunnel to milton.vtluug.org which is redirected through acidburn.
ssh -L 6969:milton.vtluug.org:22 wadsworth@acidburn.vtluug.org
now, on your machine, open a new shell, and run:
ssh localhost -p 6969 -l wadsworth
to ssh into milton as wadsworth.