SSH Port forwarding in a ~/.ssh/config file? [closed]

You can use the LocalForward directive in your host yam section of ~/.ssh/config:

LocalForward 5901 computer.myHost.edu:5901