Loading...



How to avoid the disconnection due to time out Putty

This guide explains how to avoid the disconnection by timeout after connecting with putty to a server. Putty is a client for Windows that allows you to connect in SSH, RAW, Telnet, Rlogin or serial mode. This client is used a lot and find it very useful because it provides a clean interface and a system of copy-and-paste, which I appreciate very much.

The first thing you need to connect with putty to the server, then you need to click on the icon in the upper left corner to open the context menu. Then select "Change settings". You will get a window similar to the window that you used to connect. In this window In the bottom left select "Connection" and in the text box with the name "Seconds between Keepalives (0 tu turn off)" you must enter the number "3". Click on the "Apply" button and this connection will not be disconnected because of inactivity.

If you still have doubts on how to do it and I should have been clear, you can view this short video to better understand how to do it.

In this video, we show you how to prevent the client from putty to turn off. I think it might still be useful to explain why this happens and not only how to avoid it through an in-depth analysis. Any item that connects to another needs to know if your partner is still there and is receptive. In this case, the program that interfaces with the service is called a client and the specific name is putty. This application was developed by an English team composed, at the time of writing by Simon Tatham, Owen Dunn, Ben Harris, and Jacob Nevins. It is a very simple program that is used extensively in computing from all those people who do not want or cannot give up to put your hands on a unix system like, without necessarily leaving Microsoft Windows.

What is putty

Putty is a suite of free clients and they are also distributed in portable form. Normally, however, in the jargon, when we talk about putty, we refer to the ssh secure shell client. It is certainly an application that cannot be missed in the classic USB drive of enthusiasts and professionals in the sector. The suite therefore includes the ssh client, scp, sftp, telnet, key generator and pageant. The telnet client is the classic method of connection to the old systems, it is important to understand that it can be done in any port, the important thing is that there is a certain compatibility, and we know the commands. The ssh client is a more advanced system because it associates the encryption keys, making the connection more secure. The sftp client establishes secure connections, was created to compensate for the initial lack of ciptaggio by the ftp protocol, which has since been resolved. The PC instead is the traditional file exchange system in Linux systems, uses the same ssh encryption technology, it takes a little bit to learn how to use it. However, visual client called winscp is also released which is quite intuitive and quite aesthetically pleasing similar to an ftp client. The keygenerator takes care of generating the keys that are needed for any secure shell connection and the pageant stores them.

Because there is a system of automatic update of the software, it is useful to always keep an eye on the website of the developers of putty. The email address to contact the developers, instead, you can find it in the bottom of the page bug in putty.

However, there are other programs to handle ssh connections on Windows, but now I'm used to this and not going to change, because putty can rely on a copy-and-paste very similar to the linux system. Otherwise, in the other programs (many of these surcharge) are not able to find the same comfort. However, this is a subjective thing I guess.

How it works the connection of Putty

Putty is a client program for the ssh, telnet and rlogin. Shssh is an acronym that indicates the word "shell safe". A shell, in the field of IT, is a means through which the user communicates with the machine in a language more similar to human than machine language. Putty allows you to establish an ssh connection (secure shell), telnet, and rlogin in order to interact with the server system by sending commands and viewing the responses. I will try to explain below some of the basics very clearly at the price of seem to be imprecise. The purpose of this article is actually only to solve the problem.

Because the connection of putty expires

The connection of putty expires because, in order to avoid idle connections are not needed, you set a timeout on the client side on the server side. If not, the connection will remain always active on the server side, and then the ssh service would have an effect of consuming resources unnecessarily because of processes that all are dead, and without purpose. Another reason for a disconnection of the putty may be related to a loss of connection, temporary or not.

Because the proposed solution to avoid the disconnection of putty work

As already written, the controls of putty to verify that the connection server-side is still active. Because it does not transmit anything by default when it is in a state of rest, when it is called, for example by pressing a command on the keyboard, it detects that the connection to the server-side is no longer available and issues a message timeout. Obviously, the developers have foreseen this thing and have given you the ability to send a signal to the server to warn him that is not in an idle state permanent. So, if you set the value to 1, every second this message will be sent to the ssh server that will keep the channel open and available for that connection.


it | en | zh | es | ar | pt | id | ms | fr | ja | ru | de

// 2017-11-10 - 2019-06-29 // @ignistech #tecnologia #informatica #sistemistica #desktop #applications

044.EU | Home | Terms | Privacy | Abuse | Hashtag