容器下載的是centos8的鏡像,scp出現packet_write_wait: Connection to **** port 22: Broken pipe 問題解決


解決方案:在~/.ssh目錄新建文件config

    vi ~/.ssh/config
     
    #Added lines to fix.
    Host *
    IPQoS lowdelay throughput
    #end of new file edit

到這里如果不更改權限會出現一個問題

Bad owner or permissions on /home/xin/.ssh/config
解決辦法也很簡單

chmod 644 ~/.ssh/config

到這里,這個問題已經ok了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM