Ssh keys erzeugen

Aus metasec wiki
Version vom 27. Oktober 2009, 10:28 Uhr von Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ssh-keygen -t dsa enter enter Generating public/private dsa key pair. Enter file in which to save the key (/home/lz/.ssh/id_dsa): Created directory '/home/lz/.s…“)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

ssh-keygen -t dsa

enter enter

Generating public/private dsa key pair. Enter file in which to save the key (/home/lz/.ssh/id_dsa): Created directory '/home/lz/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/lz/.ssh/id_dsa. Your public key has been saved in /home/lz/.ssh/id_dsa.pub. The key fingerprint is: 98:20:7a:fd:80:f9:df:4f:49:54:fd:31:d4:2f:b0:10 lz@hoschi

cd .ssh cat id_dsa.pub

autout aus id_dsa.pub auf remote unter authorized_keys2 einfügen