Ssh Schlüsselpaar erzeugen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Anlegen
  • ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/kit/.ssh/id_rsa): bestätigen
Enter passphrase (empty for no passphrase): Empfehlung eine Passphrase nutzen
Enter same passphrase again: Passphrase wiederholen
Your identification has been saved in /home/kit/.ssh/id_rsa
Your public key has been saved in /home/kit/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:xSbpSBsJr/Aq4qW3vVqg5Yx+eK027vmPLFHm2v58jzI kit@host200.kit.intern
The key's randomart image is:
+---[RSA 3072]----+
|    .            |
|     o . o       |
|  .   = o +      |
|   o = = +       |
|   o* o S        |
|  *o..           |
|ooo+=.           |
|+ooO=ooE ..      |
| +BBOB+++...     |
+----[SHA256]-----+
Kontrolle
  • ls ~/.ssh/id*
/home/kit/.ssh/id_rsa  /home/kit/.ssh/id_rsa.pub