[#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 dsaVerify the permissions of the public/private key pair ~/.ssh/id_dsa.pub (public key) and ~/.ssh/id_dsa (private key)
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:
-rw------- 1 <user> <group> 672 Jul 17 11:19 id_dsaUpload the ssh key to Forge:
-rw-r--r-- 1 <user> <group> 616 Jul 17 11:19 id_dsa.pub
- 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.
|No Associated Items Found|