Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save skyyuan/6362117 to your computer and use it in GitHub Desktop.
Save skyyuan/6362117 to your computer and use it in GitHub Desktop.
这个问题跟Mac的终端程序有关。修正方法是:
编辑Mac系统下/etc/ssh_config这个文件
将其中SendEnv LANG LC_*这一行前面加一个井号,注释掉,保存退出
再使用ssh连接远程Linux服务器时,中文就不会有问题了~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment