Warning:The remote SSH server rejected X11 forwarding request.

來源:互聯網
上載者:User

標籤:warning:the remote ssh server rejected x11 forwarding request.

初次升級Openssh 7.1 p2之後,然後用Xshell遠端連線出現WARNING,如所示:

650) this.width=650;" src="http://s4.51cto.com/wyfs02/M00/83/E1/wKioL1d_FyjTBU2oAAAewhQm-UA612.jpg-wh_500x0-wm_3-wmp_4-s_403472497.jpg" title="3FCC.tmp.jpg" alt="wKioL1d_FyjTBU2oAAAewhQm-UA612.jpg-wh_50" />

解決方案:

方法一:修改設定檔

  1. vim /etc/ssh/sshd_config

  2. 將檔案中的X11Forwarding的注釋去掉並將參數由no改為yes

  3. 然後再將UseLogin no的注釋也去掉。

  4. 儲存之後重啟sshd服務。


方法二:如所示:

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/83/E2/wKiom1d_GQjh5AAbAABVEoGOi6k621.png-wh_500x0-wm_3-wmp_4-s_970383383.png" title="EE6C.tmp.png" alt="wKiom1d_GQjh5AAbAABVEoGOi6k621.png-wh_50" />


本文出自 “Linux開啟telnet服務” 部落格,請務必保留此出處http://tomasyoung.blog.51cto.com/3137485/1812532

Warning:The remote SSH server rejected X11 forwarding request.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.