The purpose of this article is to explain how to create site to site VPN from a Linux machine to the AWS cloud. I will use Strongswan installed on Ubuntu 20.04 in the Scaleway cloud and AWS VPC. Scaleway offers (at least for now) VPS with Private Subnet and Public IP connected via NAT. In the AWS cloud, I already created VPC with one public and one private subnet – If you do not know how to do it, Neal Davis explains in this video.
In the end, we will have ipsec tunnel, connecting our Linux server with the resources of AWS, placed in a private subnet.
Category: Ubuntu
Linux ssh locale error | Can’t set locale; make sure $LC_* and $LANG are correct!
If you ssh from a linux machine with non-english locale setting to a server with English locale you will probable will see error like this:
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "bg_BG.UTF-8",
LC_MONETARY = "bg_BG.UTF-8",
LC_ADDRESS = "bg_BG.UTF-8",
LC_TELEPHONE = "bg_BG.UTF-8",
LC_NAME = "bg_BG.UTF-8",
LC_MEASUREMENT = "bg_BG.UTF-8",
LC_IDENTIFICATION = "bg_BG.UTF-8",
LC_NUMERIC = "bg_BG.UTF-8",
LC_PAPER = "bg_BG.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
I found two ways to fix this:
Continue reading “Linux ssh locale error | Can’t set locale; make sure $LC_* and $LANG are correct!”