Accessing your Pi remotely

To access your Pi remotely you must have internet access. We highly recommend connecting your Pi over the UCSD-PROTECTED network. However, if you are unable to connect to UCSD-PROTECTED, you may connect on UCSD-GUEST or your home Wifi and use a service like weaved to access your Pi remotely. The downside of weaved is that the free plan only allows for 30 minute long sessions.

Remote ssh

If your Pi is connected over UCSD-PROTECTED you can ssh into your Pi from any other machine using your Pi’s unique hostname:


$ ssh -Y pi@spispi-xy71.dynamic.ucsd.edu

Assumes the hostname is spispi-xy71, your hostname should be different.

If you ssh with the -Y option you may use graphical applications such as gvim (assuming these have been installed on your Pi)

If your Pi is connected over UCSD-GUEST or your home wifi, log into your weaved account. Click on the service name that you already created on your Pi. In the example below, the service I had previously created is ssh-pidiba. Read the instructions on the weaved website on creating a weaved ssh service on your Pi

rpi-wpa

Clicking on the session name makes an ssh session available for 30 minutes. Be sure to save your work and renew your session.

rpi-wpa

In the above example you may ssh as follows:


$ ssh -Y -l pi proxya.yoics.net -p 36624

Remote desktop

You don’t really need a remote desktop to complete the lab assignments but if you’d like to try it out, follow these steps.

$ sudo vncserver

On your laptop you may use any remote desktop application like CorD or Windows Remote Desktop (comes with Windows)