Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #1887

Re: unable to connect to ssh server, even though port 22 is forwarded

From Pascal Hambourg <boite-a-spam@plouf.fr.eu.org>
Newsgroups comp.os.linux.networking
Subject Re: unable to connect to ssh server, even though port 22 is forwarded
Date 2012-12-30 10:30 +0100
Organization Plouf !
Message-ID <kbp1ja$k63$1@saria.nerim.net> (permalink)
References <7534ad1b-130f-49db-a3c6-0d3e9c1a5924@googlegroups.com> <kbnu6p$7p8$2@dont-email.me>

Show all headers | View raw


J G Miller a écrit :
> On Saturday, December 29th, 2012, at 13:54:43h -0800, Rig 9919 wrote:
> 
>> I am testing a ssh server by attempting to connect to it via its public IP address.
>> For some reason 'ssh -p 22 1.2.3.4' is giving me a connection refused error.
>> The port is definitely  open and forwarded according to canyouseeme.org and
>> I am even able to connect with http://www.serfish.com/console/.
> 
> So assuming the port 22 *really* is open, then you need to check the sshd config
> file /etc/ssh/sshd_config for allowed methods of authentication.

AFAIK, the "connection refused" error is at the TCP level, not at the
SSH level. You would get the same error with 'telnet 1.2.3.4 22'.

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

unable to connect to ssh server, even though port 22 is forwarded rig9919@gmail.com - 2012-12-29 13:54 -0800
  Re: unable to connect to ssh server, even though port 22 is forwarded rcjmack@msn.com - 2012-12-29 16:54 -0600
  Re: unable to connect to ssh server, even though port 22 is forwarded Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-12-30 00:12 +0100
  Re: unable to connect to ssh server, even though port 22 is forwarded J G Miller <miller@yoyo.ORG> - 2012-12-29 23:26 +0000
    Re: unable to connect to ssh server, even though port 22 is forwarded Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-12-30 10:30 +0100
      Re: unable to connect to ssh server, even though port 22 is forwarded J G Miller <miller@yoyo.ORG> - 2012-12-30 16:48 +0000
        Re: unable to connect to ssh server, even though port 22 is forwarded Richard Kettlewell <rjk@greenend.org.uk> - 2012-12-30 17:24 +0000

csiph-web