phpstorm更換git密碼

由于git遠(yuǎn)程服務(wù)端更改賬號或密碼,導(dǎo)致git客戶端無法上傳,出現(xiàn)( WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! )

phpstorm更換git密碼

    打開phpstorm終端terminal
        git pull origin master 
    情況一:出現(xiàn)輸入密碼:更新即可
        gitlap@ip's password:
        Permission denied, please try again.
        gitlap@192.168.2.100's password:
        From 192.168.2.100:/usr/local/server/project
         * branch            master     -> FETCH_HEAD
        Already up to date.
    情況二:報錯
        WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!   
        IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
        Someone could be eavesdropping on you right now (man-in-the-middle attack)!
        It is also possible that a host key has just been changed.
        The fingerprint for the ECDSA key sent by the remote host is   
        SHA256:wKjxNaDf1npDjyfXsZJGjUDxwNRjSppTPZLfu4DDr5s.
        Please contact your system administrator.
        Add correct host key in /c/Users/lap/.ssh/known_hosts to get rid of this message.
        Offending ECDSA key in /c/Users/lap/.ssh/known_hosts:1
        ECDSA host key for 192.168.2.100 has changed and you have requested strict checking.
        Host key verification failed.
        fatal: Could not read from remote repository.
        Please make sure you have the correct access rights and the repository exists.
    注意查看(Add correct host key in /c/Users/lap/.ssh/known_hosts to get rid of this message.)
    取中間的/Users/lap/.ssh/known_hosts路徑,此路徑是存儲密碼文件,刪掉known_hosts文件,
    再次連接就彈出密碼框啦

程序在于折騰,折騰好了刪掉重來

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • Lesson 3: Using GitHub to Collaborate 3.1 Creating a GitH...
    赤樂君閱讀 6,344評論 3 11
  • 初始化git 配置git 使用Git的第一件事就是設(shè)置你的名字和email,這些就是你在提交commit時的簽名,...
    MiracleJQ閱讀 1,545評論 0 0
  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,854評論 0 10
  • 折騰了將近兩個小時終于解決了OS下 git 上傳文件到 github的問題,從頭記錄下來,為有同樣問題的新手提供...
    yz_wang閱讀 614評論 0 0
  • 《熱愛生命》 我不去想是否能夠成功 既然選擇了遠(yuǎn)方 便只顧風(fēng)雨兼程 我不去想能否贏得愛情 既然鐘情于玫瑰 就勇敢地...
    涓涓淺語閱讀 581評論 0 2

友情鏈接更多精彩內(nèi)容