LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-11-2010, 11:29 AM   #1
wondernate
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 0
SSH timeout


I just installed my first ever install of Linux (used Fedora) and am using SSH to access it from my Windows machine. It keeps timing out. Is there something I need to set to make it available all the time?

I was able to get the SSH on and to autostart just fine but when I boot up it only works half of the time. I have to move the mouse and keyboard on the Linux machine before it will respond.

Also if I am working on my Windows machine and don't move the mouse or keyboard every now and then it doesn't work.

Anything I need to set?

-N8
 
Old 03-11-2010, 11:33 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Could you be a bit more specific? Are there any error messages for it? Try:
Code:
dmesg|grep ssh
What exactly happens when you use it and it manages to work?
 
Old 03-11-2010, 11:54 AM   #3
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 12.04 / CentOS 6.5
Posts: 394

Rep: Reputation: 61
Timing out after a certain amount of time after successfully connecting or timing out as in never managing to connect?
 
Old 03-12-2010, 10:47 AM   #4
wondernate
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
The error messages are on not on machines trying to connect. It says The Network connection has timed out.


The situations where it happens is when I first boot and have not used the keyboard. Or if the machine has been sitting for a while I need to move the mouse or use the keyboard. Also, if I am using SSH I need to keep using it. If I let it sit for too long then try to come back I have to "re-wakeup" the Linux machine.



-N8
 
Old 03-12-2010, 10:53 AM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,051

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
is the fedora machine a laptop.

perhaps it has some crazy profile where it goes to sleep/ hibernate after :30 minutes or so.

i am not in front of my fedora laptop now but i remember when the lid is shut and the power is not plugged in it would immediately go to sleep. i had to look thru the power options or screensaver or something to disable it.
 
Old 03-15-2010, 12:56 PM   #6
wondernate
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
I'm guessing power options...

I can't get a fix on it but I bet you're right. It's a tower, but it's got to be some kind of power saving setting. Thanks for all your help.

-N8
 
Old 03-15-2010, 01:21 PM   #7
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Well no, that wouldn't turn SSH into a temperamental monster. If its a power saving reason from the information you've given I'll buy you a beer.

I'll explain; the power settings could only be a possible reason if you didn't have to jiggle the mouse about after boot, too. The fact that you have to do this straight after boot to get it to work suggests a different reason.

Now, perhaps you'd like to try and connect a few times to replicate the error, then walk over to the Fedora box and give me the output I asked for. Also, could you try connecting from another machine?
 
  


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
SSH Timeout shan_nathan Linux - Security 3 11-19-2007 07:48 AM
ssh timeout shan_nathan Linux - Server 4 10-19-2007 05:56 AM
SSH timeout not anywhere OpenSourcePaul Linux - Server 2 03-16-2007 05:03 PM
why ssh timeout? sherifff Linux - Networking 1 05-06-2004 10:30 PM
ssh timeout blackmercury Linux - General 1 06-02-2003 06:32 PM


All times are GMT -5. The time now is 08:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration