博威---云架构决胜云计算

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2010|回复: 2

如何处理CP的Web/SSH不能登录的问题

[复制链接]
发表于 2009-9-4 09:34:59 | 显示全部楼层 |阅读模式
Symptoms
  • Cannot access WebUI or SSH on a SecurePlatform security gateway.
  • When trying to connect to the WebUI, after the certificate popup, the following message is displayed: "Cannot connect to server. Make sure the device is up and running and that you are allowed to login from this machine."
  • For SSH, the following error message pops up: "Server unexpectedly closed network connection."
Cause
The connection is rejected because it is not coming from an acceptable IP. The user has unchecked "Any" client in the Web and SSH clients page of the Device tab in the WebUI.
Solution
Proceed as follows:
  • On the security gateway command line, type cd /etc and access the hosts.allow file. This file contains the list of acceptable IPs for SSH and WebUI clients to the security gateway.
  • Add the line ALL:ALL to this file.
  • Then, access the WebUI and add the appropriate client IPs on the Web and SSH Clients page of the Device tab.


[ 本帖最后由 liuxingyuan 于 2009-9-4 09:40 编辑 ]
 楼主| 发表于 2009-9-4 10:07:38 | 显示全部楼层
症状:
不能使用WebUISSH登录到SecurePlatform的安全网关
当使用WebUI连接时,在验证证书后,显示下列消息:“Cannot connect to Server. Make sure the device is up and running and that you are allowed to login from this machine
对于SSH,弹出下列消息:"Server unexpectedly closed network connection"

原因:
该连接被拒绝,是因为连接来自非法的IP,用户可能在WebUI中删除或没有选择"Any"客户端。

解决方案:
按一下方式处理
1.在安全网关的命令行,进入专家模式,编辑/etc/host.allow文件
2.向该文件中添加ALL:ALL这一行
3.保存该文件,可以访问,在WebUI中修改可以被连接访问的网段
发表于 2009-9-4 13:07:12 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|boway Inc. ( 冀ICP备10011147号 )

GMT+8, 2024-11-25 02:36 , Processed in 0.095619 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表