http://wiki.archlinux.org/index.php/SSH
http://wiki.archlinux.fr/console:avancee:ssh
... connexion ssh automatique :
http://wiki.archlinux.fr/console:avancee:ssh
... connexion ssh automatique :
- Code:
bash-3.2# ssh-keygen -t dsa
Generating public/private dsa key pair.
...
...
bash-3.2# ssh-copy-id -i ~/.ssh/id_dsa.pub utilisateur@ip_distante
utilisateur@ip_distante's password:
Now try logging into the machine, with "ssh 'utilisateur@ip_distante'", and check in:
.ssh/authorized_keys
to make sure we haven't added extra keys that you weren't expecting.
bash-3.2# ssh 'utilisateur@ip_distante'
Last login: Tue Dec 2 22:19:44 2008 from d54c1ca05.access.telenet.be
Linux 2.4.33.3.
Dear Freshman,
You don't know who I am and frankly shouldn't care, but
unknown to you we have something in common. We are both rather
prone to mistakes. I was elected Student Government President by
mistake, and you came to school here by mistake.
root@fresia:~#