LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unable to connect with ssh except to localhost (https://www.linuxquestions.org/questions/linux-software-2/unable-to-connect-with-ssh-except-to-localhost-7055/)

Yaukuai 09-30-2001 06:42 AM

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.


All times are GMT -5. The time now is 01:13 AM.