Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-16-2006, 03:32 AM
|
#1
|
Member
Registered: Aug 2006
Posts: 60
Rep:
|
Putty:server unexpectedly closed network connection
I putty. when I try access to another machine I receive the message of putty
Code:
server unexpectedly closed network connection
Why?
When I do: ssh -X 192.168.1.4 the output is:
Quote:
Read from socket failed: Connection reset by peer
|
So, the problem maybe is in ssh.
Last edited by dyool; 09-16-2006 at 03:48 AM.
|
|
|
09-16-2006, 04:29 AM
|
#2
|
Member
Registered: Sep 2005
Location: India
Distribution: Redhat Debian
Posts: 36
Rep:
|
Hi,
Please check whether there is any firewall using the iptables -L ?
Check whether the SSH server configurations had any restrictive users to login ?
Regards
Good Luck
Philix
God will bless you
|
|
|
09-16-2006, 05:13 AM
|
#3
|
Member
Registered: Aug 2006
Posts: 60
Original Poster
Rep:
|
I chnage the ssd_config and the output now is
Quote:
root@helder-desktop:/home/helder/Desktop# ssh -X 192.168.1.3
The authenticity of host '192.168.1.3 (192.168.1.3)' can't be established.
RSA key fingerprint is b5:cf:6b:bc:c6:a7:fe:d9:fb:26:d2:ba:b1:86:d8:18.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.3' (RSA) to the list of known hosts.
root@192.168.1.3's password:
Permission denied, please try again.
root@192.168.1.3's password:
Permission denied, please try again.
root@192.168.1.3's password:
Permission denied (publickey,password).
|
|
|
|
09-16-2006, 05:45 AM
|
#4
|
Member
Registered: Aug 2006
Posts: 60
Original Poster
Rep:
|
when I do: ssh -X 192.168.1.4 the output is
Quote:
ssh: connect to host 192.168.1.4 port 22: No route to host
|
Why?
|
|
|
03-06-2012, 11:54 AM
|
#5
|
LQ Newbie
Registered: Aug 2006
Posts: 2
Rep:
|
FC16 X Putty:server unexpectedly closed network connection
I putty 0.62. when I try access to another machine with FC16, I receive the message of putty server unexpectedly closed network connection
solution: clear option in putty program: Category -> Connection -> SSH -> Auth -> GSSAPI -> Attempt GSSAPI authentication (SSH-2 only)
Last edited by marcelo.sa; 03-06-2012 at 11:56 AM.
|
|
|
03-06-2012, 12:11 PM
|
#6
|
LQ Newbie
Registered: May 2011
Posts: 23
Rep: 
|
Connect by telnet if possible, And check if sshd service is UP..
|
|
|
03-06-2012, 12:26 PM
|
#7
|
LQ Newbie
Registered: May 2011
Posts: 23
Rep: 
|
Oho I missed the complete threads.. your sshd service is up..
hmm seems like your root user is blocked.. interesting..
Quote:
Warning: Permanently added '192.168.1.3' (RSA) to the list of known hosts.
root@192.168.1.3's password:
Permission denied, please try again.
|
However If its possible then use telnet and check the /etc/hosts.allow and /etc/hosts.deny
if it contains your IP
And also check these following files
/var/log/secure, /var/log/auth.log, /etc/ssh/sshd_config and /etc/pam.d/ssh or /etc/pam.d/sshd or /etc/security/access.conf files
Last edited by jack_9; 03-06-2012 at 12:29 PM.
|
|
|
03-06-2012, 12:54 PM
|
#8
|
Member
Registered: Mar 2011
Distribution: CentOS, RHEL, Fedora
Posts: 35
Rep:
|
I had a similar issue until I set the Keep Alive in the Putty connection to something other then 0, it seemed to work best around 30 seconds.
|
|
|
03-07-2012, 08:35 PM
|
#9
|
LQ Newbie
Registered: Aug 2006
Posts: 2
Rep:
|
Hey people, thanks, but I was not clear, I posted a problem he was having and with the resolution just below this, and I'm new to the forum ... grateful, I will replicate the question along with the solution:
I putty 0.62. when I try access to another machine with FC16, I receive the message of putty server unexpectedly closed network connection
SOLUTION: clear option in putty program: Category -> Connection -> SSH -> Auth -> GSSAPI -> Attempt GSSAPI authentication (SSH-2 only)
|
|
|
All times are GMT -5. The time now is 03:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|