>> Read No. 12285 article  
ssh의 사용에 대하여...

등록 2000-11-22 17:19:00     조회 2
이름 영혼도둑    

 저는 호스트 2대에 ssh를 깔아 놓았습니다.
  remote와 local에 ssh를 깔구..
  깔은것..
  ssh2-2.0.13
 ssh2-server-2.0.13
 ssh2-clients-2.0.13
 ssh2-extras-2.0.13
  localhost의 제 계정에서 ssh-keygen2를 실행시킨후..
  identification이란 화일에
  IdKey id_dsa_1024_a  이렇게 적어 넣었습니다.
  그리고 remote에도 똑같이 만든후. remote의 pub키 값을 가져와서
 
 remote.pub 이라고 만들고
  authorization 이란 화일에
 
 Key remote.pub 이렇게 적었습니다.
  그리고 ssh remote.host.com 쳤더니..
 
 Passphrase for key "/home/mutant/.ssh2/id_dsa_1024_a" with comment "1024-bit dsa, mutant at remote.host.com, Wed Nov 08 2
000 19:20:39 +0900"  이런 메세지가 나옵니다.. 이게 정상이져??
 
 근데 반대경우가 안됩니다.
  remote 호스트에서 local 호스트로 ssh local.host.com 이라고 치면..
  mutant at local.host.com's password:
 
 이렇게 나옵니다. 이렇게 해두 암호화는 된다지만..
  저는 서버두개가 똑같이 개인키를 입력해서 들어가게 하고 싶습니다.
  질문내용이 장황하게 길었는데..
 
 아래는 config입니다..
 
 어떻게 해야지.. 두곳에서 정상적으로 접속할 수 있는지 갈켜주세여..
 
 
# sshd2_config
# SSH 2.0 Server Configuration File
 *:
        Port                            22
 #       사용할 포트
         ListenAddress                   0.0.0.0
 #       모든곳으로부터 접속할 수 있다.
         Ciphers                         AnyStd
#       Ciphers                         AnyCipher
#       Ciphers                         AnyStdCipher
#       Ciphers                         3des
        IdentityFile                    identification
        AuthorizationFile               authorization
        HostKeyFile                     hostkey
        PublicHostKeyFile               hostkey.pub
        RandomSeedFile                  random_seed
        ForwardAgent                    yes
        ForwardX11                      yes
# DEPRECATED    PasswordAuthentication          yes
        PasswordGuesses                 3
 #       3번 실패까지만..
 #       MaxConnections                  50
# 0 == number of connections not limited
        MaxConnections                  0
 "sshd2_config" [readonly] 69 lines, 1485 characters
         ListenAddress                   0.0.0.0
 #       모든곳으로부터 접속할 수 있다.
         Ciphers                         AnyStd
#       Ciphers                         AnyCipher
#       Ciphers                         AnyStdCipher
#       Ciphers                         3des
        IdentityFile                    identification
        AuthorizationFile               authorization
        HostKeyFile                     hostkey
        PublicHostKeyFile               hostkey.pub
        RandomSeedFile                  random_seed
        ForwardAgent                    yes
        ForwardX11                      yes
# DEPRECATED    PasswordAuthentication          yes
        PasswordGuesses                 3
 #       3번 실패까지만..
 #       MaxConnections                  50
# 0 == number of connections not limited
        MaxConnections                  0
 #       접속 제한 0은 제한하지 않는다.
 #       PermitRootLogin                 nopwd
        PermitRootLogin                 no
# DEPRECATED    PubkeyAuthentication            yes
#       AllowedAuthentications          publickey,password,hostbased
        AllowedAuthentications          publickey,password-- 
 넌 또다른 나
이름
암호
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.46 초 ] 작업시간: [ 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: 1789714385
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.