[How-to] SSH tunnel && port forwarding
Short for Secure Shell, SSH (developed by SSH Communications Security Ltd.) is a secure protocol for remote logins. Using an SSH client, a user can connect to a server to transfer information in a more secure manner than other methods, such as telnet. The image to the right is an example of how an SSH session, which uses a command line interface, may look. SSH defaults to port 22.
SSH option:
- Dynamic port forwarding
Command:
Example:
ssh -NfD 0.0.0.0:ASocksPort ddos@BIP -p 22
ssh –NfD 0.0.0.0:ASocksPort ddos@AIP –p ATunnelPort - Reverse port forwarding
Command: