我正在創建一個批處理文件,該文件可以自動克隆git存儲庫。 我把下面的一行到批處理文件如何在使用批處理文件運行git clone命令時提供密碼
git clone ssh://[email protected]/path
但它的執行打我:
[exec] Permission denied, please try again.
[exec] Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
[exec] fatal: Could not read from remote repository.
,因爲它要求輸入密碼。 我試圖改變命令
git clone ssh://user:[email protected]/path
但它劇照問我密碼
什麼建議嗎?
不是,請在下次閱讀問題以確認。在這篇文章中提供的解決方案在本文中被宣佈爲嘗試。 – Zucca
這就是爲什麼投票的原因。對不起,我看到了一些ssh的東西。 –