欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

阻止putty变成inactive

程序员文章站 2024-03-18 18:42:10
...

Description:

Prevent Putty session from going inactive [How to]
Frequent users of putty should have encountered the Putty (inactive) problem. This happens because servers are usually configured to disconnect idle sessions after they are inactive for a particular time. This has many disadvantages. You can no longer monitor the jobs running in the background and the UP arrow for previous commands may not work. And you have to enter the username and password again after restarting the session.
This is how you keep it alive for longer periods

Solutions:

1、Before saving a session, click on Connection in the left pane.Enter a number, in place of zero, in the text box.
Ex: I use 30.Putty Connection
2、Now, go back to Session and Save your session with the IP address.
3、Putty Session
This way, the session sends a keep-alive request to the server every 30 seconds. Hence, it stays active.

转载自:http://www.uberullu.com/prevent-putty-session-from-going-inactive-how-to/

相关标签: putty session