免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7689 | 回复: 5
打印 上一主题 下一主题

[故障求助] xmanager连接AIX5.3出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-08-13 10:24 |只看该作者 |倒序浏览
aix已经安装了OPENSSH,用xmanager连接AIX时弹出如下提示信息:
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服务。

还是不成功,还是一样的报错。
请问各问大侠,这个问题有什么有效的解决方法?

论坛徽章:
0
2 [报告]
发表于 2008-08-13 15:55 |只看该作者
UseLogin
             是否在交互式会话的登录过程中使用 login(1) 。默认值是"no"。
             如果开启此指令,那么 X11Forwarding 将会被禁止,
             需要注意的是,login(1) 是禁止用于远程执行命令的。
             如果指定了 UsePrivilegeSeparation ,那么它将在认证完成后被禁用。

论坛徽章:
0
3 [报告]
发表于 2008-08-13 22:16 |只看该作者
复杂的ssh我不懂,检查系统的cde集束包安装了么?

论坛徽章:
0
4 [报告]
发表于 2008-08-15 15:08 |只看该作者
原帖由 panhaizhou 于 2008-8-13 15:55 发表
UseLogin
             是否在交互式会话的登录过程中使用 login(1) 。默认值是"no"。
             如果开启此指令,那么 X11Forwarding 将会被禁止,
             需要注意的是,login(1) 是禁止用于远程 ...



uselogin已经是认默认的no了



#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no

论坛徽章:
0
5 [报告]
发表于 2010-09-16 19:54 |只看该作者
我也遇到同样的问题,还没有找到解决办法。

论坛徽章:
0
6 [报告]
发表于 2010-09-16 20:14 |只看该作者
I encountered same problem some time ago. All configuration was correct but still X11 forwarding was not working.
After some googling I found out what in some cases (like mine) xauth executable was missing and therefore X11 forwarding could not work.

Next I installed X11.apps package from AIX instalation CD (it contains mentioned executable). After that X11 forwarding worked just fine.

Check your system, if xauth is not missing. Usually it is located in one of the following dirs:

ls –l /usr/bin/xauth /usr/X11R6/bin/xauth /usr/lpp/X11/bin/xauth
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP