This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSH Port forwarding is a very useful pivoting technique and security feature. It allows a server to route traffic | |
from clients to local resources such as web sites hosted on a server, or securing FTP connections. SSH port forwarding | |
allows insecure applications to be secured by SSH authentication. | |
There are three major types: | |
* Local Port forwarding | |
* This makes services hosted on the SSH server to be available to the client. | |
* Remote Port Forwarding | |
* This makes services hosted on the SSH client available to the Server. | |
* Dynamic Port Forwarding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
___ | |
## SSH Server Configuration | |
___ | |
On most linux systems, the command is either 'useradd' or 'adduser', but this is distro specific. | |
After you create the user and are prompted with the new user password, bear in mind to save it because | |
you will need it during the pubkey installation process. | |
useradd <new_user> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# U2F SSH key generation and installation guide | |
# | |
# install U2F libraries on client machine | |
sudo apt-get install pamu2fcfg libpam-u2f | |
# | |
# Currently, there are only two ciphers that support | |
# 'special keys' or (sk) this is the notation in the |