1. 程式人生 > >由於SSH配置檔案的錯誤,導致的Permission denied (publickey)及其解決方法

由於SSH配置檔案的錯誤,導致的Permission denied (publickey)及其解決方法

F:\Workspaces\Github_Workspace> ssh -T [email protected] 
Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of know 
n hosts. 
Permission denied (publickey). 
F:\Workspaces\Github_Workspace> ssh -i ~/.ssh/id_rsa [email protected] 
Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of know 
n hosts. 
Enter passphrase for key '/c/Users/Administrator/.ssh/id_rsa': 
Hi zjrodger! You've successfully authenticated, but GitHub does not provide shel 
l access. 
Connection to github.com closed.