리눅스 ssh-keygen

Jmnote (토론 | 기여)님의 2014년 9월 4일 (목) 14:24 판 (→‎예시)
리눅스 ssh-keygen
/usr/bin/ssh-keygen

1 예시

[root@jmnote ~]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter
Enter passphrase (empty for no passphrase): 
Enter same passphrase again:
암호 2번 입력
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:
20:e9:b0:5b:5a:2b:ad:e8:4d:e4:b3:a0:32:49:2d:97 evan
The key's randomart image is:
+--[ RSA 2048]----+
|                 |
|     .           |
|  . o .          |
|   + . .         |
|  o.=   S        |
| ooE .           |
|.o*+o            |
|=.+oo            |
|=o.o             |
+-----------------+
[root@jmnote ~]# ll /root/.ssh/id_rsa*
-rw------- 1 root root 1743 Sep  4 14:25 /root/.ssh/id_rsa
-rw-r--r-- 1 root root  390 Sep  4 14:25 /root/.ssh/id_rsa.pub

2 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}