If you run OS X Terminal you can get error «setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory»:
To fix it comment string that contains SendEnv LANG LC_* value in /etc/ssh/ssh_config :
sudo nano /etc/ssh/ssh_config
Result (no errors):