成人国产在线小视频_日韩寡妇人妻调教在线播放_色成人www永久在线观看_2018国产精品久久_亚洲欧美高清在线30p_亚洲少妇综合一区_黄色在线播放国产_亚洲另类技巧小说校园_国产主播xx日韩_a级毛片在线免费

資訊專欄INFORMATION COLUMN

CentOS使用在有私鑰時(shí)使用ssh進(jìn)行g(shù)it clone要求輸入密碼的解決方案

snifes / 2690人閱讀

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

  $ git clone git clone [email protected]:user/myname/1/0

my bash asked me to input the password for [email protected] all the times
then i did

  $ ssh -vvv [email protected]

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

文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請(qǐng)注明本文地址:http://systransis.cn/yun/17416.html

相關(guān)文章

  • Git 安裝和使用經(jīng)驗(yàn)總結(jié)

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

    zzbo 評(píng)論0 收藏0

發(fā)表評(píng)論

0條評(píng)論

最新活動(dòng)
閱讀需要支付1元查看
<