기존에 openssh를 쓰다가 ssh2로 업그레이드 할려구 하는데요
인증이 실패되어서 로컬에서도 접속이 안되네요~
제가 설치한 ssh 버전은 ssh3.2-2버전입니다.
특별한 사항 없이
기존 openssh rpm 제거하구
압축 풀고 /usr/local/src/ssh2/로 옮긴다음
configure,make,make install
/etc/xinetd.d/ssh 파일을 담과 같이 만들었습니다
service ssh
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/local/sbin/sshd2
server_args = -i
log_on_failer += USERID
}
그러구 나서
/etc/rc.d/init.d/xinetd restart
==>Stopping xinetd: [ OK ]
==>Starting xinetd: [ OK ]
이상이 없는듯 하여 local 에서
ssh -l test localhost
==>warning: Authentication failed.
==>Disconnected; connection lost (Connection closed by remote host.).
ssh root localhost
==>warning: Connecting to root failed: No address associated to the name
ssh -l root localhost
==>warning: Authentication failed.
==>Disconnected; connection lost (Connection closed by remote host.).
위 와 같이 계속 인증에 실패하여
/usr/local/sbin/sshd2 restart 를 해보았습니다
==>sshd2[8555]: FATAL: Extra arguments in command line (이런식으론 다시시작이 안되는건가요??(ㅡ.ㅡ;))
제가 넘 몰라서요~~
다른 과정이 필요 한가요??
그리구 여러 곳을 다니며 글을 읽다보니 궁금한게 생겨서 ssh2는 openssh와 같이
계정과 계정의 비밀번호로 원격 로그인 안되는건가요?
고수님들 조언 부탁 드립니다