Results 1 to 9 of 9
Thread: Preventing Closed by QUIT
-
11-14-2013, 07:41 AM #1Web Hosting Master
- Join Date
- Jun 2010
- Location
- Kandy
- Posts
- 1,068
Preventing Closed by QUIT
Hello,
while i am using an ssh client to monitor exim logs on real time using tail -f, after monitoring about 5 to 10 minutes, i get the message 'closed by QUIT'. this annoying me, coz i have to reconnect again every time. any way to prevent this?
i have ticked the option 'ssh keep alive' too in the ssh client configuration
-
11-14-2013, 10:25 AM #2New Member
- Join Date
- Nov 2013
- Posts
- 3
ClientAliveCountMax
sounds like your ssh server is timing out and closing your session, if you have access to the server check the sshd_config and the "ClientAliveCountMax" setting so that it gives you more time.
-
11-14-2013, 01:44 PM #3Web Hosting Master
- Join Date
- Jun 2010
- Location
- Kandy
- Posts
- 1,068
-
11-14-2013, 01:51 PM #4New Member
- Join Date
- Nov 2013
- Posts
- 3
set it to 20
sometimes between ssh server and ssh client the "ACK" signal doesnt get replied to and the connection is dropped, try bumping it up and then it wont time you out.
-
11-14-2013, 01:51 PM #5Web Hosting Master
- Join Date
- Jun 2010
- Location
- Kandy
- Posts
- 1,068
btw,
this problem happens in my office windows pc which is attached to local intranet with around 100 computers having shared the internet. the connection is also bit slowing down time to time.
i have a linux pc at my home and if i run putty in that, it seems no problem. now i have been tailing the exmim in putty now for 1 hour. no problem.
so slow connection might also a factor for this problem i think.
but internet is not completely dropping at office though...
-
11-14-2013, 01:56 PM #6Web Hosting Master
- Join Date
- Jun 2010
- Location
- Kandy
- Posts
- 1,068
-
11-14-2013, 01:58 PM #7New Member
- Join Date
- Nov 2013
- Posts
- 3
it could be the slow connection ,but when I ran into that it was the ACK reply getting blocked and the connection being dropped.
BTW, I am using windows with zoc ssh, best ssh out there for windows! I only use putty for "emergencies"
-
11-14-2013, 03:09 PM #8Web Hosting Master
- Join Date
- Jun 2010
- Location
- Kandy
- Posts
- 1,068
Thanks, very usueful tips, i never heard of ACKs until now
ill foolow this instructions to keep the session alive.
http://www.syn-ack.org/centos-linux/...ing-time-outs/
-
11-27-2013, 10:08 AM #9Web Hosting Master
- Join Date
- Jun 2010
- Location
- Kandy
- Posts
- 1,068
Hai folks,
i tried all your suggessions + more turotials online to keep the ssh session alive. but non of them worked for me.
but, i found 'ConfigServer Security & Firewall' > 'system log watch' within the whm is the only think that works for me continually.
very interestingly it automatically continues even after 'Closed by QUIT' is shown. kudus to CSF!
Thanks folks for trying to solve my issue!
Similar Threads
-
Is it possible to copy/scrape an entire closed site via Google cache? (closed due ©)
By ujjain in forum Hosting Security and TechnologyReplies: 3Last Post: 05-11-2009, 07:25 AM -
[CLOSED] ReInvention [CLOSED]
By The3bl in forum WHT Announcements, Feedback and QuestionsReplies: 3Last Post: 05-19-2007, 09:09 AM -
Quit watchmouse?
By tmax100 in forum Web Hosting LoungeReplies: 0Last Post: 05-24-2006, 03:42 PM -
Sorry. I'll quit, I promise.
By LarryLowman in forum Reseller HostingReplies: 13Last Post: 04-02-2003, 01:59 AM