Table of Contents

Setting up SSH Keys

Note : This tutorial assumes that you are running a linux-based operating system. The procedure for setting up keys on an Apple Mac OS X machine is similar to this procedure, but you may need to make some minor adjustments. There is a separate page for setting up SSH keys on Microsoft Windows using the PuTTY utility.

About

Let's say that you're logging into the Computer Science machines using the command “ssh myUsername@mote.cs.vassar.edu”. You're using your own computer (that only you have access to) and you've become tired of typing in your password every time. By following the directions below, you can set up ssh keys. This will allow you to log into mote without a password, enable you to automate scripts that use the ssh protocol, and by changing from using a password to using ssh keys, increase your account's security.

How to Set up Your Keys

(Note that you can choose another format like “ecdsa” which will create the id_ecdsa and id_ecdsa.pub files.)