Digital Marketing

SSH Always forwarding a port

If you have ports that you always want to forward, you can use the

LocalForward directive in the SSH config file.

For example, if you wanted to forward ports 8888 and 18888, you could

update the file as follows:

Host remote-linux-machine

User myuser

HostName remote-linux-machine.mydomain




Popular posts from this blog

Make online money from the Internet