Menu

SSH

SSH is one of the most common tools used for remote access, many systems in an environment will have SSH already installed. The communications are encrypted, meaning it is more difficult for defenders to see what an attacker is doing.

SSH Tunneling is used to forward application ports from an SSH client to an SSH server. This can provide a secure way of transferring files and connecting to internal network services listening on non-routable networks and securing remote file share connectivity, like NFS.

A simple port forward command:

ssh -R[port A]:[host1]:[port B] [user]:[host2]