$ ssh-keygen Generating RSA keys: ..........................oooooO...................oooooO Key generation complete. Enter file in which to save the key (/home/tom/.ssh/identity): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/tom/.ssh/identity. Your public key has been saved in /home/tom/.ssh/identity.pub. The key fingerprint is: 1024 3d:50:a1:6d:96:2e:5f:18:2e:6f:8f:1f:32:25:c8:9d tom@henry |
Now you need to copy your public key to the SourceForge shell server, so it can authenticate you.
$ scp ~/.ssh/identity.pub \ > myusername@shell1.sourceforge.net:/home/user/users/m/my/myusername/.ssh/authorized_keys |
Where `m' and `my' are the first and first two letters of your username.
$ ssh username@shell1.sourceforge.net |
Because you can't log directly into the CVS server you have to copy your authorized keys via a web page. Log into your account on sourceforge.net then head over to sourceforge.net/account/editsshkeys.php. Copy the contents of your ~/.ssh/identity.pub into the box. It may take a few hours after submission to sync the key over to the CVS server. When that's done you can
$ cvs [update] [commit] etc... |
$ ssh-keygen -p Enter file in which the key is (/home/tom/.ssh/identity): Key has comment 'tom@henry' Enter new passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved with the new passphrase. |
![]() | Your choice of passphrase is not as restrictive as your choice of UNIX password is. It can contain all sorts of characters, including spaces and can be very long. |
$ ssh-add ~/.ssh/identity |
$ apt-get install ssh-askpass $ apt-get install ssh-askpass-ptk $ apt-get install ssh-askpass-gnome |