February 23, 201412 yr I've installed "mosh", the mobile shell. It requires a UTF-8 locale on both sides of the ssh connection, but unraid doesn't report one: $ ssh root@tower locale LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= I'm not sure whether non-login shells are the problem, or the SSHD config. /etc/profile.d/lang.sh seems okay, but the above isn't working. What does work is adding this parameter to /etc/ssh/sshd_config: AcceptEnv LANG LC_* So maybe that's my feature request. In the meantime I've edited my go script to append it to the config file and reload sshd. References: http://lime-technology.com/forum/index.php?topic=32120.0 http://lime-technology.com/forum/index.php?topic=29641.msg293184#msg293184
Archived
This topic is now archived and is closed to further replies.