解决xmanager连接linux出错问题

企鹅博客 2019年7月13日12:01:17 发表评论 509 views

用xmanager连接linux时弹出如下提示信息:

The X11 forwarding request was rejected!

to solve this problem,please turn on the X11 forwarding feather of the remote SSH server

Show reply messages 信息如下:

[11:51:51] Connecting to '172.31.0.131'...

[11:51:51] Connected.

[11:51:51] Version exchange initiated...

[11:51:51] server: SSH-1.99-OpenSSH_3.6.1p2

[11:51:51] client: SSH-2.0-libssh_1.2.1697 NetSarang Computer, Inc.

[11:51:51] SSH2 is selected.

[11:51:52] Algorithm negotiation initiated...

[11:51:52] key exchange: diffie-hellman-group1-sha1

[11:51:52] host key: ssh-dss

[11:51:52] outgoing encryption: aes128-cbc

[11:51:52] incoming encryption: aes128-cbc

[11:51:52] outgoing mac: hmac-sha1

[11:51:52] incoming mac: hmac-sha1

[11:51:52] outgoing compression: none

[11:51:52] incoming compression: none

[11:51:52] Host authentication initiated...

[11:51:52] Hostkey fingerprint:

[11:51:52] ssh-dsa 1024 7a:a8:da:da:b2:da:34:ae:7c:ae:48:ed:f8:13:b3:01

[11:51:52] Accepted. Verifying host key...

[11:51:52] Verified.

[11:51:52] User authentication initiated...

[11:51:52] Sent user name 'root'.

[11:51:52] Sent password.

[11:52:08] Sent password.

[11:52:08] Access granted.

[11:52:08] Sent X11 forwarding request...

[11:52:08] Failed.

解决方法:

将sshd_config中 设置 X11Forwarding yes

重启sshd服务。

除非注明,否则均为@企鹅博客原创文章,转载必须以链接形式标明本文链接

本文链接:https://www.qieseo.com/131009.html

weinxin
欢迎加入中国SEO站长博客之家
本站的所有资源都会上传分享到博客之家,希望大家互相学习交流进步。
企鹅博客

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: