国产xxxx99真实实拍_久久不雅视频_高清韩国a级特黄毛片_嗯老师别我我受不了了小说

資訊專欄INFORMATION COLUMN

CentOS使用在有私鑰時使用ssh進行git clone要求輸入密碼的解決方案

snifes / 2679人閱讀

i"m a CentOS user using Fedora 23
There exists some question when

  $ git clone git clone metastasis@shtech.org:user/myname/1/0

my bash asked me to input the password for metastasis@shtech.org all the times
then i did

  $ ssh -vvv metastasis@shtech.org

my bash returned

 debug1: Trying private key: /home/bob/.ssh/id_dsa
 debug1: Skipping ssh-dss key /home/bob/.ssh/id_dsa for not in PubkeyAcceptedKeyTypes

and skipped my id_dsa file
After asking my friends, i

 # nano /etc/ ssh/ssh_config

and deleted the ‘#’ before

IdentityFile ~/.ssh/id_dsa

it didn"t work on neither git clone nor ssh
Then i looked my question up in Google and added a line in /etc/ ssh/ssh_config

PubkeyAcceptedKeyTypes ssh-dss

it also didn"t work and returned

/ssh_config line 89 : Bad key types "ssh-dss"

i changed "ssh-dss" to "ssh-dsa" or "id-dsa" , but it still didn"t work
Now i finished it myself by adding PubkeyAcceptedKeyTypes ssh-dss after Host * like

Host *
    PubkeyAcceptedKeyTypes ssh-dss

and i cloned it successfully

文章版權歸作者所有,未經允許請勿轉載,若此文章存在違規行為,您可以聯系管理員刪除。

轉載請注明本文地址:http://specialneedsforspecialkids.com/yun/17416.html

相關文章

  • Git 安裝和使用經驗總結

    摘要:在裝有客戶端的電腦使用執行得到如下界面輸入回車,提示輸入密碼,無視繼續回車走起結束后會在電腦用戶名中生成一個文件這個文件會保存所有連接過的信息,下一次連接這個就不會有上面的提示了。六常識及注意事項提交時會自動忽略空文件夾 GIt安裝和使用經驗總結 此文是本菜雞在實踐多次git搭建內網服務版本庫和GitHub上的使用總結部分參考了這位大佬的博客https://www.cnblogs.co...

    zzbo 評論0 收藏0

發表評論

0條評論

最新活動
閱讀需要支付1元查看
<