SSH into your CSE desktop from home
How to ssh your cse desktop from home
Wanna keep your working environment consistent and treat the desktop only as a computing device? This is what you want.
The whole process includes four parts:
- Fill in a New Host Connection form to get a hostname and IP address: https://status.cse.unsw.edu.au/newconnection/
- Enable SSH on your CSE desktop: https://linuxconfig.org/enable-ssh-on-ubuntu-20-04-focal-fossa-linux
- Enable VNC on your CSE desktop: https://linuxconfig.org/vnc-server-on-ubuntu-20-04-focal-fossa-linux
- Set up and connect to the CSE VPN on your mac at home: https://taggi.cse.unsw.edu.au/FAQ/OpenVPN/
Note that: the part 1 of host creation is a manual process and needs some time to go through. After CSE-SS processes it, you’ll receive the email that makes sure your desktop is assigned one IP address on the CSE network.
Once they’re done, you should be able to ssh into your CSE desktop from home.
Open Terminal on your Mac/Ubuntu/Windows, and run
ssh USER@HOST.cse.unsw.edu.au
where USER is your username on your CSE desktop, and HOST is the hostname you chose on the New Host Connection form, e.g.:
ssh guanglin@guanglin-pc.cse.unsw.edu.au
Enter the password for your computer, and you should then have access to the terminal on your desktop machine.
Make sure your desktop cannot suspend, otherwise your connect fails.
References
- Email with CSE-SS