title: SSH Port forwarding in a ~/.ssh/config file?
body: <p>So I typically run this command a lot: </p>
  
  <blockquote>
    <p>ssh -L 5901:myUser@computer.myHost.edu:5901</p>
  </blockquote>
  
  <p>I use it to do VNC over SSH. </p>
  
  <p>How do I convert that command into something that will work in a ~/.ssh/config file? </p>
  
  <p>ex: </p>
  
  <pre><code>host yam
      HostName yam.myHost.edu
      User myUserName
  </code></pre>
  
  <p>all I want to do is type: </p>
  
  <pre><code>ssh yam
  </code></pre>
  
  <p>And have it open a SSH shell with a local listen port, and a remote port forwarded to it. </p>
  
  <p>Suggestions?    </p>