After you get an account, make sure you are under the Rutgers network (or behind a Rutgers VPN).
You may simply use Rutgers NetID password to login the server. Open a terminal, connect with ssh.
$ ssh <netid>@amarel.rutgers.edu # Replace <netid> with yours
This is a very handy tool. You can opt in this password-less way.
The basic program here is ssh-keygen
.
$ ssh-keygen
After answering several questions, you can generate your key pair in ~/.ssh/
, the private key id_rsa
and the public key id_rsa.pub
. You should never give away your private key. Remember your passphrase unless you left it blank. The passphrase is used to decipher your private key.
After receiving your key pair, you need to put your public key on the server. You can use a tool called ssh-copy-id.
$ ssh-copy-id -i ~/.ssh/id_rsa <netid>@amarel.rutgers.edu
Or, you may simply use scp to put your public key into the file ~/.ssh/authorized_keys
. Or simply put the content of id_rsa.pub
into the file.
SSH-Agent can hold your private key, so that you don't need to type your passphrase every time unless you reboot your machine. Type
$ ssh-add ~/.ssh/id_rsa
The agent will ask your passphrase if applicable.
More information can be found here.
You may also use the graphical UI offered by Rutgers. Open the link. This is a great place to launch RStudio or Jupyter Notebook without specific configuration.