在 tmux 家目录下创建隐藏文件 .ssh mkdir .ssh cd .ssh vim config (进入后,编写相应的代码,再退出) ssh-keygen ssh-copy-id myserver # scp .ssh myserver