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


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

Re: incoming ssh blocked by ISP

From Bob Tennent <rdtennent@tennent.ca>
Newsgroups comp.os.linux.networking
Subject Re: incoming ssh blocked by ISP
Date 2021-11-08 01:18 +0000
Organization A noiseless patient Spider
Message-ID <sm9tsc$u1a$1@dont-email.me> (permalink)
References (2 earlier) <sm6sb6$kru$1@dont-email.me> <op.1cghyouwa3w0dxdave@hodgins.homeip.net> <op.1cgh5ikqa3w0dxdave@hodgins.homeip.net> <sm7bnj$i4u$1@dont-email.me> <sm9g0b$10a$1@dont-email.me>

Show all headers | View raw


On Sun, 7 Nov 2021 21:21:15 -0000 (UTC), Bob Tennent wrote:
 > On Sun, 7 Nov 2021 01:56:03 -0000 (UTC), Bob Tennent wrote:
 > > On Sat, 06 Nov 2021 18:01:56 -0400, David W. Hodgins wrote:
 > > > On Sat, 06 Nov 2021 17:57:50 -0400, David W. Hodgins 
 > >    <dwhodgins@nomail.afraid.org> wrote:
 > > >
 > > >> On Sat, 06 Nov 2021 17:33:27 -0400, Bob Tennent 
 > >     <rdtennent@tennent.ca> wrote:
 > > >>> That doesn't work. The ISP doesn't allow access of any sort
 > > >>> to the system.
 > > >>
 > > >> As long as one of the systems can access the other, use a 
 > > >> reverse ssh proxy to
 > > >> allow access in the other direction.
 > > >>
 > > >> See http://www.harding.motd.ca/autossh/
 > > >
 > > > Sorry, meant to also include
 > > > https://hobo.house/2016/06/20/
 > >      fun-and-profit-with-reverse-ssh-tunnels-and-autossh/
 > >
 > > Thanks.  This looks like it might be the solution.
 >
 > So I'm trying this, following those instructions though I'm
 > not sure I undestand what's going on.
 >
 > In my case I believe the "remoteserver" (that can initiate
 > outbound SSH connections) is my home system called jimmy and
 > the "homeserver" (that I control and can accept inbound SSH
 > connections) is an AWS instance with a static IP address.
 >
 > So on jimmy I execute 
 >
 >   ssh AWS -p 9991 -R 8081:localhost:1991
 >
 > I've opened ports 9991 and 8081 on the AWS firewall and
 > configured sshd to use port 9991. This command doesn't
 > generate any error messages and I get connected to AWS.
 >
 > So then on AWS, I execute
 >
 >   ssh localhost -p 8081
 >
 > and I get the following error messages:
 >
 >    connect_to localhost port 9991: failed.
 >    kex_exchange_identification: read: Connection reset by peer
 >
 > I don't know what that means and why I'm told connecting to
 > port 9991 fails when I specified port 8081.

It's occurred to me that on AWS, the relevant user is ubuntu
but on jimmy, it's rdt. When I (i.e., rdt) ssh to AWS, my
.ssh/config file specifies that the User is ubuntu. Where do
I (as ubuntu) specify on AWS that the relevant user on jimmy
is rdt?   Executing

  ssh localhost -p 8081 -l rdt

doesn't seem to make a difference.

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


Thread

incoming ssh blocked by ISP Bob Tennent <rdtennent@tennent.ca> - 2021-11-06 15:28 +0000
  Re: incoming ssh blocked by ISP Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-11-06 16:28 +0000
    Re: incoming ssh blocked by ISP Bob Tennent <rdtennent@tennent.ca> - 2021-11-06 21:33 +0000
      Re: incoming ssh blocked by ISP Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-11-06 21:54 +0000
        Re: incoming ssh blocked by ISP "Carlos E. R." <robin_listas@es.invalid> - 2021-11-06 23:13 +0100
          Re: incoming ssh blocked by ISP "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2021-11-06 19:16 -0400
            Re: incoming ssh blocked by ISP "Carlos E. R." <robin_listas@es.invalid> - 2021-11-07 00:28 +0100
        Re: incoming ssh blocked by ISP William Unruh <unruh@invalid.ca> - 2021-11-07 03:03 +0000
        Re: incoming ssh blocked by ISP Marco Moock <invalid@invalid.invalid> - 2021-11-07 12:44 +0100
      Re: incoming ssh blocked by ISP "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2021-11-06 17:57 -0400
        Re: incoming ssh blocked by ISP "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2021-11-06 18:01 -0400
          Re: incoming ssh blocked by ISP Bob Tennent <rdtennent@tennent.ca> - 2021-11-07 01:56 +0000
            Re: incoming ssh blocked by ISP Bob Tennent <rdtennent@tennent.ca> - 2021-11-07 21:21 +0000
              Re: incoming ssh blocked by ISP "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2021-11-07 19:05 -0500
                Re: incoming ssh blocked by ISP ant@zimage.comANT (Ant) - 2021-11-07 22:51 -0600
              Re: incoming ssh blocked by ISP Bob Tennent <rdtennent@tennent.ca> - 2021-11-08 01:18 +0000
                Re: incoming ssh blocked by ISP "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2021-11-07 21:25 -0500
                Re: incoming ssh blocked by ISP Bit Twister <BitTwister@mouse-potato.com> - 2021-11-07 23:35 -0600
      Re: incoming ssh blocked by ISP William Unruh <unruh@invalid.ca> - 2021-11-07 02:51 +0000
    Re: incoming ssh blocked by ISP "Carlos E. R." <robin_listas@es.invalid> - 2021-11-06 22:47 +0100
      Re: incoming ssh blocked by ISP Dan Purgert <dan@djph.net> - 2021-11-10 13:13 +0000
  Re: incoming ssh blocked by ISP "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2021-11-06 13:43 -0400
  Re: incoming ssh blocked by ISP Pascal Hambourg <pascal@plouf.fr.eu.org> - 2021-11-06 19:18 +0100
  Re: incoming ssh blocked by ISP Marco Moock <invalid@invalid.invalid> - 2021-11-06 19:35 +0100
    Re: incoming ssh blocked by ISP William Unruh <unruh@invalid.ca> - 2021-11-06 19:54 +0000
      Re: incoming ssh blocked by ISP Bob Tennent <rdtennent@tennent.ca> - 2021-11-06 21:18 +0000
        Re: incoming ssh blocked by ISP "Carlos E. R." <robin_listas@es.invalid> - 2021-11-06 22:47 +0100
          Re: incoming ssh blocked by ISP "Carlos E. R." <robin_listas@es.invalid> - 2021-11-06 23:56 +0100
        Re: incoming ssh blocked by ISP Pascal Hambourg <pascal@plouf.fr.eu.org> - 2021-11-06 23:44 +0100
          Re: incoming ssh blocked by ISP "Carlos E. R." <robin_listas@es.invalid> - 2021-11-06 23:54 +0100
            Re: incoming ssh blocked by ISP Pascal Hambourg <pascal@plouf.fr.eu.org> - 2021-11-07 10:07 +0100
        Re: incoming ssh blocked by ISP Marco Moock <invalid@invalid.invalid> - 2021-11-07 10:22 +0100
          Re: incoming ssh blocked by ISP Pascal Hambourg <pascal@plouf.fr.eu.org> - 2021-11-07 10:51 +0100
            Re: incoming ssh blocked by ISP Marco Moock <invalid@invalid.invalid> - 2021-11-07 11:09 +0100
  Re: incoming ssh blocked by ISP Joe Beanfish <joebeanfish@nospam.duh> - 2021-11-08 14:52 +0000
    Re: incoming ssh blocked by ISP Bob Tennent <rdtennent@tennent.ca> - 2021-11-14 16:42 +0000
      Re: incoming ssh blocked by ISP Marco Moock <mo01@posteo.de> - 2021-11-14 18:01 +0100
      Re: incoming ssh blocked by ISP "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2021-11-14 13:08 -0500
        Re: incoming ssh blocked by ISP Bob Tennent <rdtennent@tennent.ca> - 2021-11-14 19:20 +0000
          Re: incoming ssh blocked by ISP "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2021-11-14 15:06 -0500
            Re: incoming ssh blocked by ISP Bob Tennent <rdtennent@tennent.ca> - 2021-11-14 21:03 +0000
              Re: incoming ssh blocked by ISP "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2021-11-14 16:28 -0500
                Re: incoming ssh blocked by ISP ant@zimage.comANT (Ant) - 2021-11-15 04:19 -0600
                Re: incoming ssh blocked by ISP William Unruh <unruh@invalid.ca> - 2021-11-15 20:18 +0000
      Re: incoming ssh blocked by ISP ant@zimage.comANT (Ant) - 2021-11-15 04:18 -0600

csiph-web