SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the LocalForward directive in your host yam section of ~/.ssh/config:
LocalForward
host yam
~/.ssh/config
LocalForward 5901 computer.myHost.edu:5901