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


Groups > linux.debian.user > #179317

Re: SSH Access Issue

From Philippe LeCavalier <support@plecavalier.com>
Newsgroups linux.debian.user
Subject Re: SSH Access Issue
Date 2017-03-25 20:00 +0100
Message-ID <toZ4R-4T2-3@gated-at.bofh.it> (permalink)
References <toXPr-43b-1@gated-at.bofh.it> <toYiu-4wW-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Mar 25, 2017 at 2:08 PM Nate Bargmann <n0nb@n0nb.us> wrote:

> * On 2017 25 Mar 12:36 -0500, Philippe LeCavalier wrote:
>
> > One obvious aspect is firewalling. Rest assured I have opened TCP 22 and
> > ofrwarded to the correct host(the debian box). I can access all the other
> > forwarded services I've configured without issues but not SSH on the Deb
> > box. I can see the connection go through the firewall in the live feed
> but
> > the box doesn't answer.
>
> Is there a firewall running on the server that is blocking port 22?
>
> > sshd_config is stock and daemon is running yet I get nothing in the logs.
> > Not even attempts with DEBUG enabled.
>
> Usually if there is a firewall running on the box, entries will be found
> in syslog, but your logs are quiet.
>
> A default sshd_config has ListenAddress set to 0.0.0.0, if it were set
> to anything other than the network IP address, that would cause an issue
>
It's 0.0.0.0

>
> Otherwise, I'd make sure the router is actually forwarding port 22 to
> the right box.
>
As I mentioned, I can see the firewall forwarding the connection to the
server.

>
> I've found some ISPs block port 22 to their customers.  In that case, a
> port above 1024 can be used and the router can then forward that
> connection to the server on port 22.
>
I changed it to 2222 and still get the same issue. As with 22, after I
change the port to 2222 I can successfully ssh to the box from within the
LAN.

>
> - Nate
>
> --
>
> "The optimist proclaims that we live in the best of all
> possible worlds.  The pessimist fears this is true."
>
> Ham radio, Linux, bikes, and more: http://www.n0nb.us
>
-- 
Regards,
Phil

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

SSH Access Issue Philippe LeCavalier <support@plecavalier.com> - 2017-03-25 18:40 +0100
  Re: SSH Access Issue David Christensen <dpchrist@holgerdanske.com> - 2017-03-25 19:10 +0100
  Re: SSH Access Issue Nate Bargmann <n0nb@n0nb.us> - 2017-03-25 19:10 +0100
    Re: SSH Access Issue Philippe LeCavalier <support@plecavalier.com> - 2017-03-25 20:00 +0100
      Re: SSH Access Issue Philippe LeCavalier <support@plecavalier.com> - 2017-03-25 20:00 +0100
        Re: SSH Access Issue <tomas@tuxteam.de> - 2017-03-25 23:00 +0100
          Re: SSH Access Issue Philippe LeCavalier <support@plecavalier.com> - 2017-03-26 14:30 +0200
            Re: SSH Access Issue Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-03-26 16:30 +0200
              Re: SSH Access Issue Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-03-26 16:40 +0200
                Re: SSH Access Issue Joshua Schaeffer <jschaeffer0922@gmail.com> - 2017-03-27 00:10 +0200
                Re: SSH Access Issue Philippe LeCavalier <support@plecavalier.com> - 2017-03-27 03:10 +0200
            Re: SSH Access Issue David Christensen <dpchrist@holgerdanske.com> - 2017-03-26 21:10 +0200

csiph-web