LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 10: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, 10:33 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
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, 10:54 AM   #3
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397

Rep: Reputation: 62
Timing out after a certain amount of time after successfully connecting or timing out as in never managing to connect?
 
Old 03-12-2010, 09: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, 09:53 AM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
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, 11:56 AM   #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, 12:21 PM   #7
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:10 AM.

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