So, I usually run this command a lot:
ssh -L 5901: myUser@computer.myHost.edu: 5901
I use it for VNC via SSH.
How to convert this command to something that will work in the ~ / .ssh / config file?
ex:
host yam HostName yam.myHost.edu User myUserName
all i want to do is type:
ssh yam
And let it open an SSH shell with a local listening port and a remote port redirected to it.
Suggestions?
linux unix ssh macos
Snow_Mac Feb 05 2018-12-12T00: 00Z
source share