"리눅스 ssh-keygen"의 두 판 사이의 차이

32번째 줄: 32번째 줄:
+-----------------+
+-----------------+
</source>
</source>
*다음과 같이 개인키(id_rsa), 공개키(id_rsa.pub) 파일이 생성되었음
<source lang='dos'>
<source lang='dos'>
[root@jmnote ~]# ll /root/.ssh/id_rsa*
[root@jmnote ~]# ll /root/.ssh/id_rsa*

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             |
+-----------------+
  • 다음과 같이 개인키(id_rsa), 공개키(id_rsa.pub) 파일이 생성되었음
[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 }}