[#92] How do I use Public Key Authentication?
You can remove the CVS password challenge using PKA. On your workstation, generate a DSA public/private key pair. For example, the process under linux is as follows:
$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/<username>/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/<username>/.ssh/id_dsa.
Your public key has been saved in /home/<username>/.ssh/id_dsa.pub.
The key fingerprint is:
e2:eb:aa:23:0b:0f:15:6a:f6:39:eb:0f:3a:37:96:20 <username>@<hostname>
Verify the permissions of the public/private key pair ~/.ssh/id_dsa.pub (public key) and ~/.ssh/id_dsa (private key)
-rw------- 1 <user> <group> 672 Jul 17 11:19 id_dsa
-rw-r--r-- 1 <user> <group> 616 Jul 17 11:19 id_dsa.pub
Upload the ssh key to Forge:
- Log into Forge.
- Under the “My Page” tab, click on “Account Maintenance.”
- Under “Shell Account Information” select “Edit Keys.”
- Paste the content of your public key file (~/.ssh/id_dsa.pub) in the “Authorized Keys” field.
Test.
| Associated Item |
Comment |
| No Associated Items Found |
|

The Harvard ABCD Forge is an installation of the GForge project and is supported and maintained by the
ABCD Software Developers Group.
Hosting is provided by FAS IT.
Funding for the GFAS license is provided by a group of generous users.
Contact the forge-admin team with any
questions.
Our privacy policy is posted
here.