Network & Systems Architect

Welcome to my little blog. I am mostly techie over here, blogging about networking and system administration topics, but there will also be some Travel Reports from time to time…

How to fix SSH UTF-8 issues in Mac OS X Lion

July 24, 2011Christian Kildau2 Comments

After upgrading from Snow Leopard to Lion, ssh connections to remote servers using iTerm2 have issues with non ascii characters.

Luckily that’s easy to fix. Simply comment SendEnv LANG LC_* in /etc/ssh_config out.

Host *
 # SendEnv LANG LC_*
 # ForwardAgent no
 # ForwardX11 no

No other changes are needed. You could also permanently change your locale to UTF-8.
Just place export LANG=en_US.UTF-8 in your shell’s source file.

This article has 2 comments
  1. Stuartc

    Awesome! Thank you!

  2. Benjie

    This has served me twice now! Thanks!

Leave a Reply to Benjie

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.