Hot answers tagged

3

It is possible to add multiple lines of LocalForward: Host myhost Hostname 123.123.123.123 IdentityFile ~/.ssh/id_myhost LocalForward 8811 localhost:8811 LocalForward 6006 localhost:6006 IdentitiesOnly yes Is this what you want?


3

Use the -N option -N Do not execute a remote command. This is useful for just for- warding ports (protocol version 2 only). Example ssh -fN -L 8999:localhost:6006 host



Only top voted, non community-wiki answers of a minimum length are eligible