>> Read Reply from No. 49164 article  
RE: ssh 접속이 안되네요..

등록 2002-05-16 13:27:00     조회 1
이름 야야    

		: 제가설치한순서(래드햇 7.2)
:
: [root@bada tmp]# rpm -qa |grep ssh
: openssh-clients-2.9p2-7
: openssh-2.9p2-7
: openssh-askpass-gnome-2.9p2-7
: openssh-askpass-2.9p2-7
: [root@bada tmp]# rpm -e openssh
: error: removing these packages would break dependencies:
:  openssh = 2.9p2-7 is needed by openssh-askpass-2.9p2-7
:  openssh = 2.9p2-7 is needed by openssh-askpass-gnome-2.9p2-7
:  openssh = 2.9p2-7 is needed by openssh-clients-2.9p2-7
: [root@bada tmp]# rpm -e openssh-askpass
: [root@bada tmp]# rpm -e openssh-askpass-gnome
: [root@bada tmp]# rpm -e openssh-clients
: [root@bada tmp]# rpm -e openssh
: [root@bada tmp]# rpm -qa |grep ssh
:
: [root@bada tmp]# tar xvzf ssh-3.1.0.tar.gz
: [root@bada tmp]# ll
:   [root@bada tmp]#   mv ssh-3.1.0 /usr/local/src/ssh2
:   [root@bada tmp]#   cd /usr/local/src/ssh2/
:
:   [root@bada ssh2]# ./configure --with-top-wrappers
:   [root@bada ssh2]#  make
:   [root@bada ssh2]#  make install
:
:  /etc/xinetd.d/ 에서 ssh파일 생성해서  설정을 하고 나서
:
: /etc/rc.d/init.d/xinetd restart
:
: 하고 로그아웃 한 다음 아래와 같이 테스트 하는데 안되네요..
:
: [root@bada etc]# ssh localhost     ==> ssh -root localhost해도 마찬가지요..
: warning: Authentication failed.
: Disconnected; connection lost (Connection closed by remote host.).
: [root@bada root]# sshd2 
: sshd2: SSH Secure Shell 3.1.0 (non-commercial version) on i686-pc-linux-gnu
: sshd2[11589]: WARNING: Host key pair is not specified, trying to use default 'hostkey'.
: sshd2[11589]: FATAL: Creating listener failed: port 22 probably already in use!
:
:
: /etc/servies 에서 ssh가 port22 할당되어 있는건 확인 했거든요..
:
: 
:
: 안되는데 어찌해야하나요?
  rpm 설치 되어 있는거 지우고 소스 컴파일 하셨군요.
 일단 데몬 확인 해보시기 바랍니다.
 ps -ax | grep ssh
 정상적으로 떠 있다면 데몬은 정상 가동 중이고
(개인 적인 소견으로는 소스 컴파일시 xinetd 자동으로 올라 가지 않습니다
그래서 수동으로 올려 주죠
 usr/local/src/ssh2/sbin
 디렉토리 않에 있는 sshd 란 파일이 데몬을 가동 시킵니다.
 ./sshd 가동될것입니다
 그럼 다시
ps -ax | grep ssh 확인 해보시면 있을것입니다.
 usr/local/src/ssh2/bin 디렉토리 않아 다른 실행 파일들 있구요
 /etc/ssh 라는 곳에 기타 환경설정 파일 있습니다.
  그런데
 --with-top-wrappers 이 옵션은 무슨뜻인가요?--열심히 삽질하자 허접 삽질 엽기 삽질
삶이 속일지라도 세상이 속일지라도 난 포기 하지 않는다.
http://xjoin.net:8880
이름
암호


>> 관련글
49164 ssh 접속이 안되네요..  초보..  2002.05.16  ....
  답장 RE: ssh 접속이 안되네요..  야야  2002.05.16  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.37 초 ] 작업시간: [ 0.05 초 ]

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: 1791477985
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.