Note: If you do not protect your private key with a passphrase, anyone with access to your computer could SSH to your account on Brown.īy default, the key files will be stored in ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub on your local machine.Ĭopy the contents of the public key into $HOME/.ssh/authorized_keys on the cluster with the following command. To accept the default settings, press Enter without specifying a filename. You may supply a filename and a passphrase for protecting your private key, but it is not mandatory. Run ssh-keygen in a terminal on your local machine. Link to section 'Mac and Linux:' of 'SSH Keys' Mac and Linux:
Test if you can ssh from your local computer to the cluster without using your Purdue password.ĭetailed steps for different operating systems and specific SSH client softwares are give below.Copy the public key to the cluster and append it to $HOME/.ssh/authorized_keys file in your account.
To connect to Brown using SSH keys, you must follow three high-level steps: SSH Keys Link to section 'General overview' of 'SSH Keys' General overview