rechner1:~# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
91:95:c0:a0:24:02:16:e0:7d:d4:78:60:d4:d0:60:a8 root@rechner1
rechner1:~#
rechner1:~# ls .ssh
id_rsa id_rsa.pub known_hosts
rechner1:~#
rechner1:~# scp .ssh/id_rsa.pub rechner2.mein.lan:~/
root@rechner2.mein.lan´s password:
id_rsa.pub 100% |**********************************************| 222 00:00
rechner1:~# ssh rechner2.mein.lan
root@rechner2.mein.lan´s password:
Last login: Fri Mar 28 15:54:24 2003 from rechner1
Have a lot of fun...
server:~ # cat id_rsa.pub >> .ssh/authorized_keys2
server:~ # exit
logout
Connection to rechner2.mein.lan closed.
rechner1:~# ssh rechner2.mein.lan
Last login: Fri Mar 28 18:20:44 2003 from rechner1
Have a lot of fun...
rechner2~ #
| [Kommentar schreiben] |
gemoneybank/login funktioniert nicht
bbv 22.11.2007 - 101 Hits -
login
norm 15.04.2008 - 155 Hits - 4 Antworten
Ich möchte eine Frage im Forum stellen