Commit f0f3ef38 authored by Anton Midyukov's avatar Anton Midyukov

live: add image-scripts.d/50-openssh

Do not use locale of ssh clients. We only have a couple of locales available.
parent 8b022d26
#!/bin/sh
[ -f /etc/openssh/sshd_config ] || exit 0
cd /etc/openssh
# 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