ssh giving me locale error

29 views
Skip to first unread message

bill...@gmail.com

unread,
Jan 24, 2019, 7:58:26 AM1/24/19
to qubes-users
I have recently installed 4.0.1 with KDE Plasma as my Desktop. I tried to ssh to another computer through my "untrusted" domain, and received the following error. I don't have trouble talking to the site for other stuff -- it's my personal virtual server that I use for email and such, and my email client syncs just fine. The port is correct -- I can connect from other machines.

Any instructions on how to fix this would be appreciated. The same thing happens with my "personal" domain.

[user@untrusted ~]$ ssh -p 2225 <tar...@someplace.com>
The authenticity of host '[someplace.com]:2225 ([123.456.789.123]:2225)' can't be established.
<tar...@someplace.com>'s password:
Last login: Tue Jan 22 20:31:55 2019 from 11.22.33.44
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "C.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "C.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "C.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "C.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "C.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

bill...@gmail.com

unread,
Jan 24, 2019, 8:02:11 AM1/24/19
to qubes-users
I should add that, by the way, I connect fine. It just an irritating message.

unman

unread,
Jan 24, 2019, 9:00:30 AM1/24/19
to qubes-users
I think you have a locale set in the qube whihc cannot be generated on the
server. Can you check this by looking at locale settings in both.

If this is the case, then there are a few options. The easiest is to
stop accepting locale on the server - look in /etc/ssh/sshd_config in the
"remote" and see if you have AcceptEnv set .
Or in local file, comment out SendEnv in /etc/ssh/ssh_config.

Try one of those and see if it fixes the issue.

Zrubi

unread,
Jan 24, 2019, 9:26:11 AM1/24/19
to qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 1/24/19 3:00 PM, unman wrote:

> I think you have a locale set in the qube whihc cannot be generated
> on the server. Can you check this by looking at locale settings in
> both.
>

I think the problem is that there is NO locale set in the default
template.

You can check this by the localectl command.

As this is used in a lot of place, it is wise to correct it by setting
a valid locale in a template.

- --
Zrubi
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEmAe1Y2qfQjTIsHwdVjGlenYHFQ0FAlxJyuYACgkQVjGlenYH
FQ0+PQ/+ODuvTQNuG8FlX6m0jsH1DwbPuZ3b6eE2uF2Hq53tA02tjPPbgTZyu+X1
i4hjTcB/SJtiIX6qHmZXJnPr/Afcm344keQCBJ8xvsTd4l/1gjhaQCHaj5jccM43
UQf6uYiAaKkdKyUTKF8AmFxL9ky0eFH86v9HnPxKX3k0BJelqoap7dwGnM2DVOh3
lQ8O3EF+Jkta/P+tTsZFTIFOCoT2NBJDoIhGcu3ENukTSX7AROpCsBcBQHWQUu5z
MP4ggHYdMfynUjtq1HQh1KVGu6xEa1BXCwTRM7d3bP6Hz5HFISGWcLhyuU4gX8pS
RCfuVMh0+wutl9lA0FJD/j1QtUFn6H++4KOIXLb8nta1fv8V+0Iwi33uNrbDs2Jj
ziu3MhDPfXmfAQbi/mps5W5ephh/hCx4EKrsSZYczrTjVtjmmJanDlDkwZ3tIv9n
hWJWOzAmjLK/KwenT9ovQ95Tp2B43UK9kzQ/3S+fi60nyer6v7gFefJCq6sEMBDN
GU7ELcVC5jfoyVF1RRXCMH++6etTnhoJ29NyvviUHEU+u69ZcKTs9XBuzVoB03O0
UXNeiL6gOCSZuKG78eUcNPxO9zCJf4A6jO31x9De4upY5zczFQ6sAxP9fGy67kS6
94YAvVkseQMi96HbZYp94wX5Bxc56Zkalxetpbys94wer3tP5UM=
=0Nu/
-----END PGP SIGNATURE-----

unman

unread,
Jan 24, 2019, 11:33:40 AM1/24/19
to qubes...@googlegroups.com
On Thu, Jan 24, 2019 at 03:25:49PM +0100, Zrubi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 1/24/19 3:00 PM, unman wrote:
>
> > I think you have a locale set in the qube whihc cannot be generated
> > on the server. Can you check this by looking at locale settings in
> > both.
> >
>
> I think the problem is that there is NO locale set in the default
> template.
>
> You can check this by the localectl command.
>
> As this is used in a lot of place, it is wise to correct it by setting
> a valid locale in a template.
>
> - --
> Zrubi

really? There is in debian templates, even minimal.
Let's see what OP reports.
In any case, the resolution would be the same.

bill...@gmail.com

unread,
Jan 24, 2019, 2:44:24 PM1/24/19
to qubes-users
Thanks everybody. The problem was solved with setting the locale. The only "trick" was that I kept banging on localectl, and it seemed to accept the command, but I kept getting the error and it didn't seem to "take" -- until I rebooted. Doh.

Reply all
Reply to author
Forward
0 new messages