Это старая версия документа!
SSH
Конвертирование публичных ключей
OpenSSH
Конвертирвоние из openssh в ssh-2
$ ssh-keygen -e -f openssh.pub > ssh2.pub
SSH-2
Конвертирвоние из ssh-2 в openssh
$ ssh-keygen -i -f ssh2.pub > openssh.pub
Генерация ключа
$ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/Users/mirocow/.ssh/id_rsa): /Users/mirocow/.ssh/id_rsa already exists. Overwrite (y/n)? y Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/mirocow/.ssh/id_rsa. Your public key has been saved in /Users/mirocow/.ssh/id_rsa.pub. The key fingerprint is: SHA256:RgfJIdDNAVdQMIloMQ1IGb2gYf97rpyRiycDbgzHimE mirocow@MacBookPro-mirocow.tomato The key's randomart image is: +---[RSA 2048]----+ | .o==Bo*OXo | |..+ +.+o*o | |.o.o . . . | |. .. . . | | . . S | |oEo ... | |*+. o. | |o+ ooo+. | |. .+=+. | +----[SHA256]-----+