telnet 이 안되네요..

제가설치한순서(래드햇 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 할당되어 있는건 확인 했거든요..
안되는데 어찌해야하나요?
Re: telnet 이 안되네요..
root로는 로그인이 안될 겁니다.
다른 계정으로 시도해보세요..
ssh foo@localhost
Re: telnet 이 안되네요..
디폴트?로 루트에겐 접속이 허용되지 않습니다.
ssh -i 계정아이디 localhost해서 접속하세요.
댓글 달기