$ ssh cr173@gort.stat.duke.edu The authenticity of host 'gort.stat.duke.edu (152.3.7.55)' can't be established . RSA key fingerprint is 74:30:5a:d0:cd:a8:d2:6f:a6:e9:c6:80:bb:eb:b4:ba. Are you sure you want to continue connecting (yes/no)?yes cr173@gort.stat.duke.edu's password: [cr173@gort ~]$
You should now be able to run commands remotely on gort
. We can interactively run commands on the remote system. Try hostname
to see which system you are connected to, and whoami
to see your user name.
cr173@gort [~]$ hostname gort.stat.duke.edu cr173@gort [~]$ whoami cr173
Once you are done on the server you can exit by:
exit
on the command lineYou also should test that you are able to connect to the department's RStudio Server:
Login using your netid and password.
mosh is an extension / wrapper to ssh that is designed to work in an environment where connections are not stable (ie. on a phone or laptop)
If you don't like having to type your password every time you login, you can setup public key authentication.
The Setup is a bit complicated, but it is something you only need to do once, a decent tutorial can be found here:
Follow steps 1 - 9, just replace the user names with your netid and server names with gort.stat.duke.edu.