Digital Marketing

How to use LocalForward in ssh config file

If you don't want to type 

ssh -L 
everytime, you can put LocalForward in your ~/.ssh/config file:

LocalForward 3306

# Tunnels that are set up upon login
# LocalForward ""
# LocalForward ""
# LocalForward ""
# RemoteForward "3000:localhost:22"
You can use DynamicForward like this:
DynamicForward 1080


Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership