在windows7下安装git后,运行 cd ~/.ssh $ bash: cd: /c/Users/Administrator/.ssh: No such file or directory 出现以上问题 原因:在windows7下安装git后没有ssh 解决办法是: 全部留空即可,一路回车 $ ssh-keygen -t rsa -C “邮箱地址” ##回车 Generating public/private rsa key pair. Enter file in which to save
00.ssh 慢问题解决修改: [test@centos ~]$ sudo vi /etc/ssh/sshd_config /** 使用/命令查找 API 字符串*/ # GSSAPI options GSSAPIAuthentication no #去掉井号注释修改成成no GSSAPICleanupCredentials no #去掉井号注释修改成成no #GSSAPIStrictAcceptorCheck yes #GSSAPIKeyExchange no #GSSAPIEnablek5