LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-03-2009, 01:41 PM   #1
dirtybird04
LQ Newbie
 
Registered: Aug 2004
Distribution: Centos, Ubuntu
Posts: 16

Rep: Reputation: 0
SSH disconnects


I have an Ubuntu server and a Windows desktop running behind a Centos firewall/router.

Lately, I've noticed that when I SSH into the Ubuntu server from my Windows box via Putty, it keeps disconnecting after a while. I've tried keep_alive setting for Putty, but to no avail. Putty will just randomly disconnect with a "Software caused connection abort" message.

So I did some digging around. First I logged into the SSH via lo i.e. 127.0.0.1, and left it on for a while. That works fine, so it tells me that SSHd is not the issue, somehow the network is messing up somewhere.

So I dug up in the logs, and here's what I saw in the /var/log/auth.log:

Oct 3 14:08:14 athena sshd[2379]: Server listening on :: port 22.
Oct 3 14:10:19 athena sshd[3017]: Accepted password for amin from 192.168.1.101 port 1925 ssh2
Oct 3 14:10:19 athena sshd[3017]: pam_unix(sshd:session): session opened for user chronos by (uid=0)
Oct 3 14:24:59 athena dbus-daemon: Rejected send message, 1 matched rules; type ="method_call", sender=":1.35" (uid=1000 pid=4033 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.18" (uid=0 pid=3017 comm="sshd: chronos [priv] "))


The last line seem to be the one causing the connection drop. Any ideas as to what it means?
 
Old 10-04-2009, 02:49 AM   #2
vineesh K.K
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 3
The same error could be seen if there is any network problem exist or if sshd service stops automatically.. Best way to solve this problem is isolate the network vs. daemon issue.I think, better way of identifying the n/w issue is ping the server continously.
 
Old 11-04-2009, 05:36 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Did Google or Google Linux (http://google.com/linux) on the error msg. or a portion of it? That often yields good results. (... & sometimes disappointing ones.)
 
  


Reply



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
ssh disconnects goldwing Linux - Networking 3 05-26-2008 09:42 AM
From Win. to FC 5 : SSH disconnects mufy Linux - Networking 1 12-01-2006 02:07 AM
Constant disconnects of ssh, irc, aim fatherdog Linux - Networking 1 09-08-2006 12:16 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
ssh periodically disconnects after swaret upgrade -a tallship Slackware 4 09-07-2005 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:01 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