Norwegian version of this page

How to use sshuttle and VNC

The tutorial shows you how to install and use sshuttle and use VNC on your Mac.

sshuttle

Installation

Install the tool sshuttle with Homebrew in the Terminal:

brew install sshuttle

Usage

Establish a connect to UiO with the following command:

sshuttle --dns -vr username@login.uio.no 129.240.0.0/0

For some of us it may be relevant to use a different, local server than login.uio.no. 

A simple tutorial on how to use sshuttle.

VNC over SSH to a Mac

Under Sharing in System Preferences, activate Remote Management. Define what functionality should be enabled and who should be able to access the machine remotely with VNC.

In Terminal type:

ssh -L 5900:localhost:5900 username@hostname.uio.no

In Finder go to Connect to Server... (cmd + k) and type vnc://localhost:5900. This will open the built in application Screen Sharing. With this application you can remotely log in to the machine on campus.

Published Feb. 16, 2021 8:08 PM - Last modified Feb. 16, 2021 8:08 PM