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
文章版權(quán)歸作者所有,未經(jīng)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。
轉(zhuǎn)載請注明本文地址:http://www.ezyhdfw.cn/yun/17416.html
摘要:在裝有客戶端的電腦使用執(zhí)行得到如下界面輸入回車,提示輸入密碼,無視繼續(xù)回車走起結(jié)束后會在電腦用戶名中生成一個(gè)文件這個(gè)文件會保存所有連接過的信息,下一次連接這個(gè)就不會有上面的提示了。六常識及注意事項(xiàng)提交時(shí)會自動忽略空文件夾 GIt安裝和使用經(jīng)驗(yàn)總結(jié) 此文是本菜雞在實(shí)踐多次git搭建內(nèi)網(wǎng)服務(wù)版本庫和GitHub上的使用總結(jié)部分參考了這位大佬的博客https://www.cnblogs.co...
閱讀 3382·2021-11-22 12:04
閱讀 2770·2019-08-29 13:49
閱讀 534·2019-08-26 13:45
閱讀 2320·2019-08-26 11:56
閱讀 1067·2019-08-26 11:43
閱讀 646·2019-08-26 10:45
閱讀 1328·2019-08-23 16:48
閱讀 2229·2019-08-23 16:07