Puttygen import pem


Spread the love

Is characteristic, the instructions in Google do not contain one small detail, for which I killed a lot of time, and now I want to save you this time.

Setting Putty for correct display of Russian letters:

Set the font in the tree on the left Windows Appearance, on the right Font Settings Change. Here you should set the “Cyrillic” character set. I prefer to use more modern Consolas in systems where it is:

font

Window Translation here you need to specify the system encoding of the server to which you are connecting. It is unlikely that there are systems with a coding other than UTF-8, in any case, I have not come across such. My server uses just UTF-8, and we put it. Translation

And now that most important trifle, which is not described in every instruction. Go to Connection Data, and set the Environtment Varaibles variable LC_ALL equal to the installed locale of your server. It is very likely that this will be either en_US.UTF-8 or ru-RU.UTF-8. I have both installed, but I prefer to deal with English localization, so I make the settings like this:

variables

In theory, this should be enough if you have an SSH server configured correctly. If, on connecting, it swears that the LC_ALL variable cannot be set, then in the sshd_config config etc ssh sshd_config in Debian):

AcceptEnv LANG LC_ lang

Result:

putty

Written by the authorSergey Tkachenko25 10 2014Written inLinuxTags: putty, ssh, Russian letters

Record Navigation

  Previous Post:

ISO image of Windows 10 build 9860 for clean new install

  Next entry:

Open the menu with the Win key in MATE

4 Responses to “Russian letters in SSH and Putty (146% working method)”

Stepan

writes:

10/25/2014 at 19:35 In Windows, it is much more “native” to use the OpenSSH build, which works directly on the command line. For example, I really like this mls-software.com/opensshd.html

And with Cyrillic everything is fine there. ssh user host

Also found a couple of typos.

Point 3: en_US.UFT-8 en_US.UTF-8

Point 4: sshd_condig sshd_config