hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : How do i make ssh stay log in longer ?
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

How do i make ssh stay log in longer ?

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-27-2005, 02:37 AM
AndyJ AndyJ is offline
Web Hosting Guru
 
Join Date: Jan 2005
Posts: 268

How do i make ssh stay log in longer ?


This log me off when i transfer a big account to a new server. How do i make it stay log in longer still i done transfering ? thanks

Reply With Quote


Sponsored Links
  #2  
Old 03-27-2005, 04:18 AM
eth00 eth00 is offline
Web Hosting Master
 
Join Date: Apr 2003
Location: NC
Posts: 2,911
ssh should not terminate by default. There is something else going on. Have you made sure there were no scripts controlling this and that you are not having network issues? What error do you get when it quits?

__________________
John W
www.eth0.us

Reply With Quote
  #3  
Old 03-27-2005, 04:29 AM
cpanelgh0st cpanelgh0st is offline
Junior Guru Wannabe
 
Join Date: Mar 2005
Location: Sydney, Australia
Posts: 76
Might want to look at KEEPALIVE options in your [ssh] client.

__________________
http://magi.net.au - Development / rant blog for coders, *nix admins, unoffical cpanel and whatnot.
Server administration / Emergency work / Security handling available on request - private message/email for quote or more information

Reply With Quote
Sponsored Links
  #4  
Old 03-27-2005, 05:27 AM
Ananke Ananke is offline
Disabled
 
Join Date: Mar 2005
Location: Houston
Posts: 176
your server is probably timing out because the transfer is maxing out CPU

Reply With Quote
  #5  
Old 03-27-2005, 08:42 PM
AndyJ AndyJ is offline
Web Hosting Guru
 
Join Date: Jan 2005
Posts: 268
Quote:
Originally posted by eth00
ssh should not terminate by default. There is something else going on. Have you made sure there were no scripts controlling this and that you are not having network issues? What error do you get when it quits?
i use putty to connect to ssh, when i come back and i saw messaage "Network error: Software cause connect abort". It log me off . and putty turn to inactive. I just want to make putty connect to server longer even when i am not at computer. Is this possible ?

Reply With Quote
  #6  
Old 03-27-2005, 08:48 PM
DediPlace DediPlace is offline
Web Hosting Master
 
Join Date: Nov 2002
Posts: 801
Check your putty configuration... and Enable TCP Keepalives in the Connection settings and enter a value in the sending of null packets to keep session active...I think that will do the trick.

__________________
DedicatedPlace.com - The Only Place to be...
Sales@DedicatedPlace.com * Affordable, No Setup Fee, Fully Managed Dedicated Servers with Daily Remote Backup. External Server Management & Monitoring also available.

Reply With Quote
  #7  
Old 03-27-2005, 10:30 PM
AndyJ AndyJ is offline
Web Hosting Guru
 
Join Date: Jan 2005
Posts: 268
Quote:
Originally posted by DediPlace
Check your putty configuration... and Enable TCP Keepalives in the Connection settings and enter a value in the sending of null packets to keep session active...I think that will do the trick.
you mean i have to turn keepalive on in httpd.conf ?

and how do i enter a value in the sending of null packets to keep session active ? thanks

Reply With Quote
  #8  
Old 03-27-2005, 10:31 PM
DediPlace DediPlace is offline
Web Hosting Master
 
Join Date: Nov 2002
Posts: 801
It is in your Putty Configuration.. under Connection...

__________________
DedicatedPlace.com - The Only Place to be...
Sales@DedicatedPlace.com * Affordable, No Setup Fee, Fully Managed Dedicated Servers with Daily Remote Backup. External Server Management & Monitoring also available.

Reply With Quote
  #9  
Old 03-27-2005, 10:37 PM
dkitchen dkitchen is offline
Managed Hosting Expert
 
Join Date: Jan 2004
Location: North Yorkshire, UK
Posts: 4,163
Some servers kick me out, some don't, fact of the matter is the servers that kick me out all the time are in the same datacentre, says to me that it's a network thing.

Dan

__________________
█ Dan Kitchen | Technical Director | Razorblue
█ ddi: (+44) (0)1748 900 680 | e: dkitchen@razorblue.com
█ UK Intensive Managed Hosting, Clusters and Colocation.
█ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).


Reply With Quote
  #10  
Old 03-27-2005, 10:41 PM
sawbuck sawbuck is offline
Aspiring Evangelist
 
Join Date: Jan 2004
Posts: 445
Quote:
Originally posted by RazorBlue - Dan
Some servers kick me out, some don't, fact of the matter is the servers that kick me out all the time are in the same datacentre, says to me that it's a network thing.Dan
Might be a timeout limitation in /etc/profile

Reply With Quote
  #11  
Old 03-27-2005, 10:52 PM
AndyJ AndyJ is offline
Web Hosting Guru
 
Join Date: Jan 2005
Posts: 268
Quote:
Originally posted by DediPlace
It is in your Putty Configuration.. under Connection...
what is the value in the sending of null packets to keep session active ?
If i change it ,then will the putty keep me connect to ssh longer ? Thanks

Reply With Quote
  #12  
Old 03-27-2005, 11:02 PM
dkitchen dkitchen is offline
Managed Hosting Expert
 
Join Date: Jan 2004
Location: North Yorkshire, UK
Posts: 4,163
It will yes, and the null packets are to let the server know there is someone still at the other end.

Connections do drop often though because of a bit of packet loss here and there, which is inevitable now and then with something as large as the internet.

Dan

__________________
█ Dan Kitchen | Technical Director | Razorblue
█ ddi: (+44) (0)1748 900 680 | e: dkitchen@razorblue.com
█ UK Intensive Managed Hosting, Clusters and Colocation.
█ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).


Reply With Quote
  #13  
Old 03-27-2005, 11:12 PM
AndyJ AndyJ is offline
Web Hosting Guru
 
Join Date: Jan 2005
Posts: 268
Quote:
Originally posted by RazorBlue - Dan
It will yes, and the null packets are to let the server know there is someone still at the other end.

Connections do drop often though because of a bit of packet loss here and there, which is inevitable now and then with something as large as the internet.

Dan
Now it is 0, what would you recommend me to change ?

Reply With Quote
  #14  
Old 03-28-2005, 12:37 AM
DediPlace DediPlace is offline
Web Hosting Master
 
Join Date: Nov 2002
Posts: 801
You can try maybe 30 sec... or 60 sec..

__________________
DedicatedPlace.com - The Only Place to be...
Sales@DedicatedPlace.com * Affordable, No Setup Fee, Fully Managed Dedicated Servers with Daily Remote Backup. External Server Management & Monitoring also available.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Torrent Site The Pirate Bay Embraces Cloud Hosting to Improve Uptime, Lower Costs Web Hosting News 2012-10-17 10:59:01
New Heart Internet Feature Helps Customers Sell Unwanted Domains through Control Panel Web Hosting News 2012-09-05 15:17:37
HostingCon Preview: Q&A with Elya McCleave of SoftCom Web Hosting News 2012-07-05 13:50:56
Canadian Web Host Orpheum Acquires AeroVPS Customers, Assets Web Hosting News 2012-06-19 10:42:52
Web Host IPOWER Highlights Customer Projects to Celebrate 10th Anniversary Web Hosting News 2011-10-26 23:09:31


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?