国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

ssh 連接出現(xiàn)錯誤: kex_exchange_identification: Connection closed by remote host

這篇具有很好參考價值的文章主要介紹了ssh 連接出現(xiàn)錯誤: kex_exchange_identification: Connection closed by remote host。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

錯誤如下表示:

windstorm@LocalHost-Server ~> ssh webase-front@192.168.122.22
Couldn't get a file descriptor referring to the console.
fish: Unknown command: nc
fish:
exec nc -X connect -x 127.0.0.1:15732 192.168.122.22 22
???? ^^
kex_exchange_identification: Connection closed by remote host

當出現(xiàn)這種錯誤的時候,不要慌,我在csdn上面看了其他人描述的花里胡哨,其實一點用沒有,實際上你只要初始化一下你本用戶的.ssh文件夾就可以了。

那么怎么初始化?

直接一條命令搞定

rm .ssh -rf

執(zhí)行完這條命令,然后接著執(zhí)行ssh 連接主機就可以成功執(zhí)行了。

ssh 連接出現(xiàn)錯誤: kex_exchange_identification: Connection closed by remote host,Linux,ssh,運維

原因可能是我們本地的.ssh出現(xiàn)了問題,或者是ssh進行了更新,導(dǎo)致出現(xiàn)的問題,實際上我們只要重新生成一下就可以了。文章來源地址http://www.zghlxwxcb.cn/news/detail-703167.html

到了這里,關(guān)于ssh 連接出現(xiàn)錯誤: kex_exchange_identification: Connection closed by remote host的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔相關(guān)法律責任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • 【解決vscode連ssh問題:kex_exchange_identification: read: Connection reset】ssh無法重啟

    【解決vscode連ssh問題:kex_exchange_identification: read: Connection reset】ssh無法重啟

    實驗室的服務(wù)器連不上了,試了很多種方法,包括 刪除known_hosts 和卸載重裝本地的vscode和ssh,但還是連不上,基本上可以確定是服務(wù)器方面的問題。vscod最開始是彈出以下報錯 網(wǎng)上很多解決方法我也試過了,包括 重新生成密鑰 ssh-keygen 和 修改/etc/hosts.deny或/etc/hosts.allow ,但

    2024年02月05日
    瀏覽(35)
  • ssh遠程登錄報錯:kex_exchange_identification: Connection closed by remote host

    ssh遠程登錄報錯:kex_exchange_identification: Connection closed by remote host

    系統(tǒng): MacOS Catalina 10.15.7 報錯信息: 終端登錄遠程 服務(wù)器 時報錯: 復(fù)制 然而服務(wù)商的一鍵登錄或VNC登錄正常。 首先使用以下命令debug登錄過程,以便定位問題: 復(fù)制 如果你從此時返回的信息中能夠發(fā)現(xiàn)大量的提示都指向: 復(fù)制 基本上能夠確定問題出現(xiàn)在本機的配置上。

    2024年01月17日
    瀏覽(26)
  • SSH遠程連接報錯:kex_exchange_identification: Connection closed by remote host

    SSH遠程連接報錯:kex_exchange_identification: Connection closed by remote host

    kex_exchange_identification: Connection closed by remote host 刪除known_hosts,重啟終端即可

    2024年02月11日
    瀏覽(20)
  • github上傳文件遇到錯誤:kex_exchange_identification: read: Software caused connection abort banner exchange:

    github上傳文件遇到錯誤:kex_exchange_identification: read: Software caused connection abort banner exchange:

    github上傳文件時,連接不上ssh,輸入ssh -T git@github.com,檢查連接,出現(xiàn)以下錯誤: kex_exchange_identification: read: Software caused connection abort banner exchange: Connection to 20.205.243.166 port 22: Software caused connection abort 其中20.205.243.166是github的地址,22號端口是和你連接的端口。這段話意思是

    2024年02月10日
    瀏覽(29)
  • 解決ssh:connect to host github.com port 22: Connection timed out與kex_exchange_identification

    解決ssh:connect to host github.com port 22: Connection timed out與kex_exchange_identification

    無法進行clone項目和其他Git操作。執(zhí)行檢測連接命令 ssh -T git@github,com 報錯 ssh:connect to host github.com port 22: Connection timed out 即:連接22端口超時 涉及到的文件 : C:UsersJIACHENGER.sshconfig C:UsersJIACHENGER.sshgithub_id_rsa C:UsersJIACHENGER.sshgithub_id_rsa.pub C:UsersJIACHENGER.sshknown_hosts 生成

    2024年02月06日
    瀏覽(20)
  • Git報錯Kex_exchange_identification

    Git報錯Kex_exchange_identification

    問題: 本地項目push到github失敗 Push failed Kex_exchange_identification: Connection closed by remote hostConnection closed by 20.205.243.166 port 22 Could not read from remote repository. Please make sure you have the correct access rightsand the repository exists. 同樣地,從github中clone、pull、fetch也報上述錯誤 解決方法 一般情況

    2024年01月25日
    瀏覽(17)
  • 【日常踩坑】解決 kex_exchange_identification 報錯

    最近在使用 git 時,發(fā)現(xiàn) git pull 時經(jīng)常會出現(xiàn)下面的報錯 kex_exchange_identification: Connection closed by remote host ,導(dǎo)致無法正常拉取代碼 和之前的 解決 pip 安裝第三方包時因 SSL 報錯 原因類似,都是因為網(wǎng)絡(luò)代理導(dǎo)致的 主要是代理服務(wù)商為了安全考慮,避免被人當作跳板,會主動

    2024年01月22日
    瀏覽(51)
  • kex_exchange_identification: Connection closed by remote host

    登錄遠程服務(wù)器時,出現(xiàn)了這個問題,費了好幾個小時定位,最后發(fā)現(xiàn)是開了代理。 兩個解決方案: 把代理關(guān)掉 在代理規(guī)則里過濾掉服務(wù)器的ip

    2024年02月14日
    瀏覽(21)
  • git報錯——kex_exchange_identification: read: Software caused connection abort banner exchange......

    git報錯——kex_exchange_identification: read: Software caused connection abort banner exchange......

    1、問題: 在IDE推送的時候,出現(xiàn)了如下的問題,特此記錄一下: kex_exchange_identification: read: Software caused connection abort banner exchange: Connection to 175.24.250.178 port 22: Software caused connection abort fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository

    2024年02月11日
    瀏覽(32)
  • github: kex_exchange_identification: Connection closed by remote host

    github: kex_exchange_identification: Connection closed by remote host

    參照下邊文檔 https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port 進入config文件 添加下述配置 結(jié)果如下圖 運行如下代碼進行驗證 如果都沒問題,重新git pull自己代碼倉庫里的代碼,發(fā)現(xiàn)可以正常拉取,問題至此解決

    2024年02月05日
    瀏覽(52)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包