On Tue, May 20, 2008 at 11:25 AM, Floor Terra <[EMAIL PROTECTED]> wrote:

> Hi,
>
> On Tue, 20 May 2008, GVG GVG wrote:
>
>  Dear Group,
>>
>> when I try to remotely ssh connect to a OpenBSD 4.3 box via port 80 I get:
>>
>> ssh_exchange_identification: Connection closed by remote host
>>
>>  Are you sure you are not trying to connect to httpd?
>
> -bash-3.2$ ssh -p 80 -v brobding.mine.nu
> OpenSSH_4.6, OpenSSL 0.9.7j 04 May 2006
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Connecting to brobding.mine.nu [62.194.34.244] port 80.
> debug1: Connection established.
> debug1: identity file /home/floort/.ssh/identity type -1
> debug1: identity file /home/floort/.ssh/id_rsa type -1
> debug1: identity file /home/floort/.ssh/id_dsa type -1
> ssh_exchange_identification: Connection closed by remote host
>
> This is a connection to my own httpd.
>
>  Please note, that the same box allows me to use port 443
>> and both ports (80 and 443) are registered in the sshd_config file.
>>
>>  Have you restarted sshd?
>
> Floor
>
>
Thanks for your reply!

Apache  doesn't run nor any other httpd service. And yes, when defining port
80 in the sshd_config file I did re-start the whole box! Also when I go via
a browser to my server it displays:

SSH-2.0-OpenSSH_4.8
Protocol mismatch.

is that due to the port 80 I defined in the sshd_config file? Does
this make sense?

Thanks for your attention

George

Reply via email to