Linux/SSH: Difference between revisions
From charlesreid1
(Created page with "=SSH for Linux Tasks= =References= "Mastering Linux" {{SSHFlag}} {{NetworkingFlag}}") |
|||
| Line 1: | Line 1: | ||
=SSH for Linux Tasks= | =SSH for Linux Tasks= | ||
Mostly stuff we already know - but you can build ssh tunnels. This allows you to access services locally that originate from another computer or server. | |||
This capability enables you to bypass local DNS filtering (by routing DNS queries through the SSH tunnel instead of to the network's default DNS). | |||
It also allows you to access servers on a private network, from a remote location. | |||
You need ssh on both the client and server side. You'll run an SSH server on the server side, and connect to it with an SSH client on the client side. | |||
From the client, you'll connect to the server with the ssh command, but with some additional flags that create the SSH tunnel: <code>ssh -L <local-port>:localhost:<remote-port> username@10.1.1.101</code> | |||
=References= | =References= | ||
Revision as of 05:57, 13 March 2016
SSH for Linux Tasks
Mostly stuff we already know - but you can build ssh tunnels. This allows you to access services locally that originate from another computer or server.
This capability enables you to bypass local DNS filtering (by routing DNS queries through the SSH tunnel instead of to the network's default DNS).
It also allows you to access servers on a private network, from a remote location.
You need ssh on both the client and server side. You'll run an SSH server on the server side, and connect to it with an SSH client on the client side.
From the client, you'll connect to the server with the ssh command, but with some additional flags that create the SSH tunnel: ssh -L <local-port>:localhost:<remote-port> username@10.1.1.101
References
"Mastering Linux"
| ssh secure shell, the most useful tool in unix
Tunnels: Building SSH tunnels: SSH Tunnels Tunnel SSH through HTTPS: Stunnel Tunnel SSH through DNS: Iodine
Raspberry Pi and SSH: RaspberryPi/Headless · RaspberryPi/Reverse SSH RaspberryPi/SSH Stunnel · RaspberryPi/Reverse SSH Stunnel Category:SSH · Category:Networking
Linux and SSH:
Category:SSH · Category:Kali · Category:Networking Flags · Template:SSHFlag · e |
| Networking pages and notes about computer networks.
Man in the Middle attack vectors on wired networks: Man in the Middle/Wired Packet analysis with Wireshark: Wireshark Packet Analysis Linux networking: Linux/Networking
Using Aircrack: Aircrack Many Ways to Crack a Wifi: Cracking Wifi
Linux/Networking · Linux/SSH · Linux/File Server
Notes on OpenVPN: OpenVPN Setting Up a Static Key VPN: OpenVPN/Static Key
Domain Name Servers: DNS · Linux/DNS IP Version 6: IPv6
Wireshark · SSH · Stunnel · Tor · Ettercap · Aircrack · Tcpdump
Tunnels · HTTP and HTTPS · SSH Tunnels · Linux/SSH
|