LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-30-2001, 06:42 AM   #1
Yaukuai
LQ Newbie
 
Registered: Aug 2001
Posts: 7

Rep: Reputation: 0
Question 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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ksysguard unable to connect to localhost runcis Mandriva 5 03-04-2005 11:00 AM
unable to connect to my linux router from internet using ssh shkkhanhyd Linux - Security 3 03-31-2004 09:44 PM
SSH localhost is fine, IPs won't connect zzero Linux - Networking 4 03-24-2004 01:00 PM
Can't connect to localhost Brendon Linux - Networking 11 07-30-2002 10:13 AM
can only connect with ssh to localhost Yaukuai Linux - Security 7 10-12-2001 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration