Manage ssh keys

From VLE

Jump to: navigation, search
  • Installation of the open-ssh client. For example, on Debian and derivated:
sudo apt-get update
sudo apt-get install openssh-client
  • Generation of a pair of public and private keys:
ssh-keygen -t rsa -b 1024
Generating public/private rsa key pair.
  • A series of questions are asked to you. The default choice are good:
Enter file in which to save the key (/home/gquesnel/.ssh/id_rsa):
  • A password to block the access to the private key:
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
  • And finally, copy of the public key to the servers:
ssh-copy-id '-p 6999 -i ~/.ssh/id_rsa.pub quesnel@www.vle-project.org'
ssh-copy-id -i ~/.ssh/id_rsa.pub quesnel@lil.univ-littoral.fr
This page was last modified on 7 July 2010, at 11:51. This page has been accessed 396 times.