Some simple and practical modifications to the original settings when using PuTTY

Source: Internet
Author: User
Tags putty settings ssh port

Because you often need to program on the cluster, you often need to use PuTTY. (Of course you can also choose X-Win32, but I personally think that the graphical interface is basically useless for daily programming, otherwise it will find a Linux system to add-Y in ssh to support the graphical interface .)

Below we will summarize several simple and practical modifications to the original PuTTY settings:

1) Avoid Chinese garbled characters:

Window-> Translation-> stored ed data assumed to be in which character set:

Originally set to Use font encoding. Here you can select the UTF-8 to ensure that the correct character set is supported.

2) Prevent the server from automatically disconnecting the SSH connection after it has not received client data for a long time:

Connection-> Seconds between keepalives (0 to turn off)

The original value is 0. You can set a positive value, such as 10 or 60, to indicate the number of seconds required to send a packet to the server to prove that the client is still alive to maintain the connection.

By the way, if terminal on Linux is used, I will use the top command to keep the port in active State to maintain the connection, of course, there are not many people using cluster.

3) Avoid system alarms when you press the Tab key:

Terminal-> Bell-> Action to happen when a bell occurs

Originally set to Make default system alert sound. Here I directly set it to None (bell disabled), and the world instantly becomes much more secure. After all, the Tab key is too frequently used to input commands. After a long time, the alarm sound of the system is disturbing.

Of course, it seems that not all machines have this problem, and it seems to have something to do with your system settings. My previous notebook was HP, and there was no such problem. Now I changed ThinkPad, but the lab desktop still had this problem.

Of course, you may need to modify other parameters based on your needs. For example, you need to increase the font size during lectures, and set the background to white. Otherwise, the projection effect will be poor. These can be modified in Appearance. In addition, the SSH port number (corresponding to the-p Parameter of ssh) may not be 22 by default and needs to be modified separately. But these are all intuitive.

At present, it seems that PuTTY is not so convenient to implement password-less login. You need to download PuTTYgen to create a key. It would be as convenient as WinSCP.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.