- Generate SSH keys: Run the command
ssh-keygen -t rsa -b 4096
in your terminal. When prompted, save the keys toC:\Users\<username>\.ssh\rsa
and do not set a password. - Check the generated files: Two files,
id_rsa
andid_rsa.pub
, should be created in the directory you specified. - Copy public key to server: Copy the contents of
id_rsa.pub
into yourmind.cs.cmu.edu:~/.ssh/authorized_keys
file. - Download and install PuTTY: You can download it from the official website.
- Launch PuTTYGen: Use this to convert your private key to a format PuTTY can use.
- Import and convert key: Go to
Conversions>Import key
, select yourid_rsa
file, then clickSave private key
. Save the new.ppk
file asid_rsa2
.
- Import and convert key: Go to
- Configure PuTTY:
- Open PuTTY without connecting to a remote system.
- Navigate to
Connection>Data
and set theAuto-login username
to your SSH username. - Navigate to
Connection>SSH>Auth>Credentials
, clickBrowse
underPrivate key file for authentication
, and select yourid_rsa2.ppk
file. - Set
Session Host Name
tomind.cs.cmu.edu
. - Save these settings under
Saved sessions
.
- Log in: To log in, open PuTTY, load your saved session, and click
Open
. You should be automatically logged in tomind
.
Setup of Key pairs in Windows and configuring putty
Updated on August 28, 2024
Need Help?Contact NI Support