ssh key -f 设置别名后 git ssh需要密码
git 添加 配置
git config core.sshCommand "ssh -i ~/.ssh/id_rsa"
ssh 测试时 添加 -i 参数 指定 密匙
来源 Git 如何配置命令行 Git 使用 SSH 密钥|极客教程 (geek-docs.com)
git 添加 配置
git config core.sshCommand "ssh -i ~/.ssh/id_rsa"
ssh 测试时 添加 -i 参数 指定 密匙
来源 Git 如何配置命令行 Git 使用 SSH 密钥|极客教程 (geek-docs.com)