Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
|
06-15-2012, 02:55 AM
|
#1
|
LQ Newbie
Registered: Jun 2012
Posts: 7
Rep:
|
ssh connection disconnected while ip pinging.
hi LQ Forum,
I am facing strange problem.I have an ibm blade server installed Red hat 5 on it. Whenever i connect it with SecureCRT or Putty it disconnect after some time and after hitting few times to get session. It responds and login.When session disconnect the server ip still pinging sucessfully.
One thing which i observed that when i start ping to that server with '-t ' (ping ip-address -t), the ssh session never disconnect.
Please guide me whats going wrong.
Thanks for everyone.
|
|
|
06-15-2012, 03:38 AM
|
#2
|
Member
Registered: Apr 2009
Posts: 214
Rep:
|
Are you, by any chance, using an ADSL connection with an idle timeout?
|
|
|
06-15-2012, 04:22 AM
|
#3
|
LQ Newbie
Registered: Jun 2012
Posts: 7
Original Poster
Rep:
|
no i am not using any internet connection or ADSL on it.
|
|
|
06-15-2012, 04:30 AM
|
#4
|
Member
Registered: Apr 2009
Posts: 214
Rep:
|
I've never experienced this problem, but found this link http://nileshbansal.blogspot.com/200...ts-in-ssh.html which refers to router idle timeouts and client and server alive interval and countmax:
ClientAliveInterval 30
ClientAliveCountMax 4
ServerAliveInterval 30
ServerAliveCountMax 4
Also check that it's not the shell timing you out with TMOUT or whatever.
Last edited by bakdong; 06-15-2012 at 04:35 AM.
|
|
|
06-15-2012, 04:36 AM
|
#5
|
LQ Newbie
Registered: Jun 2012
Posts: 7
Original Poster
Rep:
|
i have tried it but problem not resolved. thx for reply
|
|
|
06-15-2012, 09:46 AM
|
#6
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
Any sshd error messages on the server?
|
|
|
06-15-2012, 04:32 PM
|
#7
|
LQ Newbie
Registered: Jun 2012
Posts: 7
Original Poster
Rep:
|
just show that connection disconnected, after some hits he allow me to again login.
Otherwise no error show to me where i guess whats actual problem.
As i mention in thread that when i start ping command on client server then server never disconnected. Mean some strike on server issue.
Thanks for reply suicidaleggroll & bakdong
|
|
|
06-15-2012, 10:45 PM
|
#8
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Do you have access to the router that the server is connected to?
My router when logged in I can see all devives connected & ping them if they have network connectitvity.
|
|
|
06-16-2012, 12:31 AM
|
#9
|
LQ Newbie
Registered: Apr 2009
Posts: 22
Rep:
|
Do you have any time out settings on the server. Also check in Putty setting under the Category - Connection, that number in "seconds between keepalives" is set to 0.
|
|
|
06-16-2012, 01:37 AM
|
#10
|
Member
Registered: Jun 2010
Location: INDIA
Distribution: All Linux & Unix
Posts: 86
Rep:
|
|
|
|
06-19-2012, 02:02 AM
|
#11
|
LQ Newbie
Registered: Jun 2012
Posts: 7
Original Poster
Rep:
|
@ EDDY1, i hav ping on router server its pinging sucessfully.
@ mannmaniyar, putty settings its already set to '0'
thx for answering.
|
|
|
06-20-2012, 03:09 AM
|
#12
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Have you tried
user=your user name
ip-address=ip for machine
|
|
|
06-20-2012, 03:05 PM
|
#13
|
LQ Newbie
Registered: Jun 2012
Posts: 7
Original Poster
Rep:
|
@ EDDY1, acrually i m using secureCrt and putty so the problem come over here.
@ subho.d., i hav downloaded it but not installed sucessfully.
thanks u very much
|
|
|
07-02-2012, 11:31 PM
|
#14
|
Member
Registered: Apr 2009
Posts: 214
Rep:
|
Still have the problem? I would turn on the logging in your ssh client and see if that gives you any clues.
|
|
|
07-05-2012, 01:45 AM
|
#15
|
LQ Newbie
Registered: Jun 2012
Posts: 7
Original Poster
Rep:
|
@ bakdong, Ya i still have problem. actually u cant login because its not on internet. i will send you log which you want. thx for answering.
|
|
|
All times are GMT -5. The time now is 10:50 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
|
|