Skip to main content
Menu
ssh | Cheatsheets
ssh

SSH Dynamic Port Forwarding on Linux

May 28, 2021
linux
ssh

Step 1 # Generate SSH keys through ssh-keygen ssh-keygen Step 2 # Copy your public key form ~/.ssh/id_rsa.pub $ cat ~/.ssh/id_rsa.pub Step 3 # Login into your remote hosted linux machine Step 4 # Create authorized_keys file and put your public key into ~/.ssh/ directory Step 5 # Create config file with below data and put into your local system where your public and private ssh key exist ...