Christian

Kildau

Network Engineer


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.

1
2
3
4
5
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
    2011/09/16

    Awesome! Thank you!

  2. Benjie
    2012/02/11

    This has served me twice now! Thanks!


Leave a Reply