(→같이 보기) |
|||
41번째 줄: | 41번째 줄: | ||
==같이 보기== | ==같이 보기== | ||
*[[리눅스 RSA 개인키, 공개키 생성]] | |||
*[[RSA]] | *[[RSA]] | ||
2014년 9월 4일 (목) 14:26 판
- 리눅스 RSA 2048 공개키, 개인키 생성
- 리눅스 ssh-keygen
- /usr/bin/ssh-keygen
1 예시
bat
Copy
[root@jmnote ~]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
- ↵ Enter
bat
Copy
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
- 암호 2번 입력
bat
Copy
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) 파일이 생성되었음
bat
Copy
[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 같이 보기
3 참고 자료
편집자 John Jeong Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.