Commit 3d1b25f8 authored by Anton Midyukov's avatar Anton Midyukov

rescue: do not use locale of ssh clients

We only have a couple of locales available.
parent 0852cf5d
......@@ -16,4 +16,8 @@ grep -qs "^$KEY_TYPES" sshd_config || echo "$KEY_TYPES" >> sshd_config
grep -qs "^$KEY_TYPES" ssh_config || echo "$KEY_TYPES" >> ssh_config
grep -qs "^$KEX_ALGOS" ssh_config || echo "$KEX_ALGOS" >> ssh_config
# do not use locale of ssh clients
sed -i '/^AcceptEnv LANG/s/^/#/' sshd_config
sed -i '/^AcceptEnv LC_/s/^/#/' sshd_config
:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment