리눅스에서 openssh-3.5p1 버젼 설치 문의
작성자 정보
- 정이 작성
- 작성일
컨텐츠 정보
- 819 조회
- 0 추천
- 목록
본문
ㅠㅠ 거의 몇일을 ssh 설치하느라 고생했는데 도무지 여러곳을 참고해 따라해도 데몬이 안뜨네요.
hosts.allow와 hosts.deny는 전부 All:All로 해둔 상태구요.
xinetd를 사용중이어서 더 어렵네요 ㅠㅠ
칸이의 리눅스 강좌 : http://www.superuser.co.kr/linux/kani/page03.htm
를 보고 대강 맞춰서 해봤는데 안되서... ㅠㅠ
rpm으로 설치하려니 제가 rpm으로 설치 해본 적이 없어서 잘 모르겠구...
거기다 한번 똑같이 따라해봤는데 에러가 나더라구요 -_-;;
/usr/local/sbin/sshd 를 하면
root 6287 1 6 08:31 ? 00:00:00 /usr/local/sbin/sshd
이런 식으로 뜨는데 이렇게된 상태에서 접속해보니까 password가 안 맞는지 접속이 안되더라구요 ㅠㅠ
/usr/local/sbin/sshd -i 를 하면
SSH-1.99-OpenSSH_3.5p1
Protocol mismatch.
이렇게 뜹니다.
/usr/local/sbin/sshd 를 띄운 상태에서 /usr/local/sbin/sshd -d를 하면
debug1: sshd version OpenSSH_3.5p1
debug1: private host key: #0 type 0 RSA1
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
socket: Address family not supported by protocol
debug1: Bind to port 22 on 0.0.0.0.
Cannot bind any address.
라고 뜨네요.
띄우지 않은 상태에선
debug1: sshd version OpenSSH_3.5p1
debug1: private host key: #0 type 0 RSA1
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
socket: Address family not supported by protocol
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
RSA key generation complete.
라고 뜹니다.
혹시 설치 하신 분 있으시면 설치 절차 좀 알려주세요 ㅠㅠ
관련자료
-
이전
-
다음