key 생성 명령어#

[fromm0@fromm01 ~]$ ssh-keygen -t rsa -b 4096
Generating public/private rsa key pair.
Enter file in which to save the key (/home/fromm0/.ssh/id_rsa): 
Created directory '/home/fromm0/.ssh'.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/fromm0/.ssh/id_rsa.
Your public key has been saved in /home/fromm0/.ssh/id_rsa.pub.
The key fingerprint is:
... 중략
The key's randomart image is:
... 중략

[fromm0@fromm01 ~]$ cd .ssh/
[fromm0@fromm01 .ssh]$ ls -1
id_rsa
id_rsa.pub

생성파일 종류#

  • id_rsa : private key
  • id_rsa.pub : public key

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-2) was last changed on 25-Feb-2020 14:34 by DongGukLee