> Source: [sk93730](https://support.checkpoint.com/results/sk/sk93730)

# sk93730 - Not able to connect to Security Management Server over SSH, to Operating System WebUI, or with SmartConsole GUI clients

| Property | Value |
|----------|-------|
| Solution ID | sk93730 |
| Date Created | 2013-08-04 |
| Last Modified | 2022-11-11 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |
| OS | Linux, Gaia |

## Symptoms

- * '`ssh_exchange_identification: Connection closed by remote host`' when connecting to Security Management Server over SSH.  

* '`Forbidden, the website declined to show this page`' error when connecting to SecurePlatform WebUI / Gaia Portal on Security Management Server (error appears after the certificate page),

## Cause

Possible reasons:

(1) In '`cpconfig`' menu on Security Management Server, the '`(3) GUI Clients`' were configured as "`any`", which means a machine with hostname "`any`" (and not that any host is allowed to connect).

(2) The relevant setting that allows any host to connect over SSH was not added to the `/etc/hosts.allow` file.

(3) Insufficient permissions on the `/etc/hosts.allow` file and `/etc/hosts.deny` file.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
