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


Groups > linux.debian.user > #212783

Re: Secure Shell refuses to accept connections from anyone

From Michael Howard <mike@dewberryfields.co.uk>
Newsgroups linux.debian.user
Subject Re: Secure Shell refuses to accept connections from anyone
Date 2019-08-14 13:40 +0200
Message-ID <yuZNf-7hw-1@gated-at.bofh.it> (permalink)
References (5 earlier) <yuI9H-4lA-3@gated-at.bofh.it> <yuJ5L-4Wj-3@gated-at.bofh.it> <yuJyN-5mM-11@gated-at.bofh.it> <yuNsJ-7PC-1@gated-at.bofh.it> <yuR3j-1LF-3@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 14/08/2019 03:18, Keith Steensma wrote:
>
>
> On 8/13/2019 5:29 PM, Keith Steensma wrote:
>>
>>
>> On 8/13/2019 1:16 PM, Michael Howard wrote:
>>> On 13/08/2019 18:40, Keith Steensma wrote:
>>>>
>>>>
>>>> On 8/13/2019 11:35 AM, Michael Howard wrote:
>>>>> On 13/08/2019 16:31, Joe wrote:
>>>>>> On Tue, 13 Aug 2019 15:28:04 +0200
>>>>>> <tomas@tuxteam.de> wrote:
>>>>>>
>>>>>>> On Tue, Aug 13, 2019 at 08:23:35AM -0500, Keith Steensma wrote:
>>>>>>>>
>>>>>>>> On 8/12/2019 4:00 PM, elvis wrote:
>>>>>>>>> On 12/8/19 11:23 pm, Keith Steensma wrote:
>>>>>>>>>> The same thing happens if I fill in 'root' as the login even
>>>>>>>>>> though a 'root' login is not permitted in the default
>>>>>>>>>> 'sshd_config' configuration.  Even when I change the
>>>>>>>>>> configuration to allow for 'root' login, 'root' can never login.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Try a local ssh login to see if it rules out network problems. As
>>>>>>>>> in ssh localhost.  or ssh -l <user> localhost. If it is your
>>>>>>>>> network getting in the way it may
>>>>>>>>> rule that out.
>>>>>>>> Yes that works ( ssh -l <user> localhost ). So that means it 
>>>>>>>> has to
>>>>>>>> do with the network connections.
>>>>>>> Not necessarily. It can be the client, too (your PuTTY). You didn't
>>>>>>> describe the error message in detail (perhaps it is too unspecific,
>>>>>>> GUI clients tend to be like that), but perhaps PuTTY has some
>>>>>>> "verbose" option you can activate. Then you may infer whether 
>>>>>>> there's
>>>>>>> a hole in the net or whether just client and server don't get along
>>>>>>> with each other.
>>>>>>>
>>>>>> It is some years since I used PuTTY regularly, but I seem to recall
>>>>>> that it didn't use OpenSSH-type keys and insisted on generating 
>>>>>> its own
>>>>>> and providing a conversion to an OpenSSH key, which then had to be
>>>>>> placed on the server. Is it possible this procedure may have gone 
>>>>>> amiss
>>>>>
>>>>> This has happened to me a couple of times. Regenerating and 
>>>>> converting solved the problem.
>>>> It may be wrong, but I'm using putty where putty does not supply a 
>>>> username or a 'key'.  I'm using it just as
>>>> a terminal (does someone have an alternate suggestion).  I agree, 
>>>> putty gets along with OpenSSH is a
>>>>  'almost' fashion.  If you convert your 'key' in the right way.  I 
>>>> have been using mine a long time just because
>>>> it takes a while to get it to work correctly.
>>>>
>>> What is your 'PasswordAuthentication' setting? If this is 'No', you 
>>> must use keys and so will see errors similar to yours.
>>> -- 
>>> Mike Howard
>> I'm going to keep your name in my  book of experts.
> Well, it turns out that all is not solved.  As long as the linux 
> machine and and a Windows machine are isolated and each is running a 
> static

Not looked at your config file as yet but if it works isolated, it 
works. The problem now is more likely a different problem.

What version of ssh do you have installed?

Have you checked your log files to ensure that, when connected to the 
internet, you are actually trying to connect to the correct machine? If 
the machine you think you are connecting to really is refusing 
connections, what are the logs saying?

-- 
Mike Howard

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


Thread

Secure Shell refuses to accept connections from anyone Keith Steensma <keith@airways-consulting.com> - 2019-08-12 15:40 +0200
  Re: Secure Shell refuses to accept connections from anyone john doe <johndoe65534@mail.com> - 2019-08-12 16:20 +0200
    Re: Secure Shell refuses to accept connections from anyone Keith Steensma <keith@airways-consulting.com> - 2019-08-12 16:50 +0200
      Re: Secure Shell refuses to accept connections from anyone john doe <johndoe65534@mail.com> - 2019-08-12 17:00 +0200
  Re: Secure Shell refuses to accept connections from anyone Roberto C. Sánchez <roberto@debian.org> - 2019-08-12 16:30 +0200
    Re: Secure Shell refuses to accept connections from anyone Roberto C. Sánchez <roberto@debian.org> - 2019-08-12 16:40 +0200
    Re: Secure Shell refuses to accept connections from anyone Dan Ritter <dsr@randomstring.org> - 2019-08-12 16:40 +0200
      Re: Secure Shell refuses to accept connections from anyone john doe <johndoe65534@mail.com> - 2019-08-12 16:50 +0200
      Re: Secure Shell refuses to accept connections from anyone Keith Steensma <keith@airways-consulting.com> - 2019-08-12 16:50 +0200
        Re: Secure Shell refuses to accept connections from anyone mick crane <mick.crane@gmail.com> - 2019-08-12 22:00 +0200
    Re: Secure Shell refuses to accept connections from anyone Keith Steensma <keith@airways-consulting.com> - 2019-08-12 16:40 +0200
  Re: Secure Shell refuses to accept connections from anyone mick crane <mick.crane@gmail.com> - 2019-08-12 16:40 +0200
  Re: Secure Shell refuses to accept connections from anyone Bruce Halco <bruce@halcomp.com> - 2019-08-12 16:50 +0200
  Re: Secure Shell refuses to accept connections from anyone Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-12 21:10 +0200
  Re: Secure Shell refuses to accept connections from anyone elvis <elvis@dogonfire.com> - 2019-08-12 23:10 +0200
    Re: Secure Shell refuses to accept connections from anyone <tomas@tuxteam.de> - 2019-08-13 15:30 +0200
      Re: Secure Shell refuses to accept connections from anyone Joe <joe@jretrading.com> - 2019-08-13 17:40 +0200
        Re: Secure Shell refuses to accept connections from anyone Michael Howard <mike@dewberryfields.co.uk> - 2019-08-13 18:50 +0200
          Re: Secure Shell refuses to accept connections from anyone Keith Steensma <keith@airways-consulting.com> - 2019-08-13 19:50 +0200
            Re: Secure Shell refuses to accept connections from anyone john doe <johndoe65534@mail.com> - 2019-08-13 20:10 +0200
            Re: Secure Shell refuses to accept connections from anyone Michael Howard <mike@dewberryfields.co.uk> - 2019-08-13 20:20 +0200
              Re: Secure Shell refuses to accept connections from anyone Keith Steensma <keith@airways-consulting.com> - 2019-08-14 00:30 +0200
                Re: Secure Shell refuses to accept connections from anyone Keith Steensma <keith@airways-consulting.com> - 2019-08-14 04:20 +0200
                Re: Secure Shell refuses to accept connections from anyone Bruce Halco <bruce@halcomp.com> - 2019-08-14 12:30 +0200
                Re: Secure Shell refuses to accept connections from anyone Michael Howard <mike@dewberryfields.co.uk> - 2019-08-14 13:40 +0200
              Re: Secure Shell refuses to accept connections from anyone Keith Steensma <keith@airways-consulting.com> - 2019-08-14 00:30 +0200
    Re: Secure Shell refuses to accept connections from anyone Keith Steensma <keith@airways-consulting.com> - 2019-08-13 15:30 +0200

csiph-web