Category: bash

Cursor issues in ssh sessions to Linux hosts from Windows Subsystem for Linux (WSL) on on Windows 10

Issue:
Using Windows Subsystem for Linux (WSL) on on Windows 10
to establish an ssh session to a Linux host the cursor is acting strangely. You may be in vi or nano editing some file and your backspace suddenly makes the cursor jump or space bar acts like it is in edit……


CentOS 7 fix for “perl: warning: Please check that your locale settings are supported and installed on your system.”

Issue:
Logging in via SSH you are greeted with:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = “en_US.UTF-8”,
LANG = “C.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).

Solution:

Edit /etc/environment and add the following. Replace……