SSHing into your workstation
Edit me
Installing Duke’s VPN
Download Duke’s VPN Client
Once installed set the connection address to vpn.duke.edu
You’ll need to be connected to this VPN to connect to your workstation while off campus.
Grabbing your IP
In the ubuntu terminal type
hostname -I
This will output your local IP Address
$ hostname -I
xx.xxx.xx.xxxx
Connecting to your workstation
Now from any client that has ssh
installed, just connect to your IP
ssh username@xx.xxx.xx.xxxx
Replace username
with the username on your workstation.
Setting up an SSH Key (Optional)
Add an ssh key to bypass the password prompt when connecting to your workstation.
Once generated, go back to your workstation and navigate to ~/.ssh
(if this folder does not exist create it).
Edit your authorized_keys
file (again create it if it does not exist) and add the public key you just created to your authorized keys. It should be one line per public key.