>> Read No. 52758 article  
ssh-keygen 사용시 문제점, 인증키 사용법

등록 2002-07-15 18:46:00     조회 4
이름 임지환    

		1) ssh-keygen 사용시 문제점.. 
 [root@meconfidence root]# ssh-keygen 
You must specify a key type (-t). 
Usage: ssh-keygen [options] 
Options: 
  -b bits     Number of bits in the key to create. 
  -c          Change comment in private and public key files. 
  -e          Convert OpenSSH to IETF SECSH key file. 
  -f filename Filename of the key file. 
  -i          Convert IETF SECSH to OpenSSH key file. 
  -l          Show fingerprint of key file. 
  -p          Change passphrase of private key file. 
  -q          Quiet. 
  -y          Read private key file and print public key. 
  -t type     Specify type of key to create. 
  -B          Show bubblebabble digest of key file. 
  -C comment  Provide new comment. 
  -N phrase   Provide new passphrase. 
  -P phrase   Provide old passphrase. 
[root@meconfidence root]# 
 
---> 에러는 나지 않는데요, 키 생성이 안되네요.,., 
 
2) 인증키 사용법
 
 [root@dolgaroo root]# ssh-keygen
Generating public/private rsa1 key pair.
Enter file in which to save the key (/root/.ssh/identity):
/root/.ssh/identity already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/identity.
Your public key has been saved in /root/.ssh/identity.pub.
The key fingerprint is:
13:ea:88:b4:b0:d4:c2:90:28:93:be:19:1d:4e:b2:ba root@dolgaroo [root@dolgaroo root]# scp .ssh/identity.pub dolgaroo@163.1
80.121.32:.ssh/authorized_keys dolgaroo@163.180.121.32's password:
identity.pub         100% |*****************************|   332       00:00
[root@dolgaroo root]# ssh-agent bash
[root@dolgaroo root]# ssh-add .ssh/identity
Identity added: .ssh/identity (root@dolgaroo)
[root@dolgaroo root]# exit
exit
[root@dolgaroo root]# ssh-agent bash
[root@dolgaroo root]# ssh -l dolgaroo 163.180.121.32
dolgaroo@163.180.121.32's password:
 마지막에서 패스워드를 물어보지 않고 그냥 인증되야 되는걸로 알고 있는데요, 잘 안되네
요 ...
이름
암호
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.99 초 ] 작업시간: [ 0.01 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1791314903
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.