unable to connect with ssh except to localhost
hi..
i've just installed RH7.0 and openssh which included in the
distro.
currently, trying to use ssh2 protocol.
configuration file such as :
$HOME/.ssh/id_dsa
$HOME/.ssh/id_dsa.pub
$HOME/.ssh/authorized_keys2
is already set correctly.
and my linuxbox ip is set to 192.168.0.1
if i try to connect with ssh to localhost (127.0.0.1), sshd and
ssh works just fine.
I entered the pass phrase and ssh connection established.
but if i try to connect with ssh to the same host using ip aliases,
(such as 192.168.0.1) ssh show this error message :
The authenticity of host '192.168.0.1' can't be established.
DSA key fingerprint is .....
Are you sure want to continue connecting ?...
and in /var/log/messages shows this message :
sshd[981]: fatal: Read from socket failed: Connection reset
by peer
how can i solve this problem.. ?
any help and suggestion are very appreciated. Thanks..
Yau.
|