1. 7
  1. 2

    I used local port forwarding to access the screen of remote Macs:

    ssh -L 5901:localhost:5900 $remote_mac
    

    Then open “Screen Sharing.app” and connect to 127.0.0.1:5901.

    1. 1

      Nice! It can be really handy with tools which are just painful to configure for direct connections. There were so many times where I wanted to connect to a postgres on another machine at home, but was too lazy to edit pg_hba.conf, so I just made a tunnel instead hehe. I guess it’s better for security reasons anyway.