我試圖設置MS WebMatrix以使用我的siteground託管帳戶中的Git存儲庫。我創建使用他們的cPanel插件庫,它告訴我,我可以使用此命令無法從siteground克隆git存儲庫
git clone ssh://[email protected]:18765/home/username/public_html/
我更換,當然用戶名和我創建使用ssh-keygen RSA密鑰克隆。在Webmatrix GUI中,它只是打開一個窗口,顯示「克隆正在進行中」,但對任何事情都沒有影響。 當我在PowerShell中運行該命令,這是輸出:
Cloning into 'public_html'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
任何幫助,不勝感激!
編輯: 我以前沒有使用github,但我很確定我沒有連接到它。存儲庫在我認爲的siteground的服務器上。無論如何,我無法在PowerShell中找到它,所以現在我使用putty加載適當的密鑰,並使用不使用與PowerShell相同的ssh客戶端的外部git工具(源代碼樹)進行連接。這是現在爲我工作的解決方案。 我會離開這個問題,因爲也許有人來過,可以幫助如何使用PowerShell進行設置。
你解決了這個問題嗎?同樣的問題。 – Tony