[SOLVED] Re: [qubes-users] ssh giving me locale error

2019-01-24 Thread billollib
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.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d4391029-4d7b-480b-9ef6-95e18ec0ee81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] ssh giving me locale error

2019-01-24 Thread unman
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.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20190124163338.hbkw3ur34xykgxm4%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] ssh giving me locale error

2019-01-24 Thread Zrubi
-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-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b3df3b11-d2b9-35b1-ad33-3238a2a8bd97%40zrubi.hu.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] ssh giving me locale error

2019-01-24 Thread unman
On Thu, Jan 24, 2019 at 04:58:26AM -0800, billol...@gmail.com wrote:
> 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 
> The authenticity of host '[someplace.com]:2225 ([123.456.789.123]:2225)' 
> can't be established.
> '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").
> 
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.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20190124140027.spzl46z3wbvnvjzn%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] ssh giving me locale error

2019-01-24 Thread billollib
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 
The authenticity of host '[someplace.com]:2225 ([123.456.789.123]:2225)' can't 
be established.
'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").



-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/1e93dce9-c1e9-4e6c-9db0-d7dce05ab377%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.