Re: Port 22 SNAFU? Help!
From: Stein Arne Storslett (sastorsl_at_THOU.SHALT.NOT.SPAM.broadpark.no)
Date: 08/18/05
- Previous message: Per Hedeland: "PAM changing user name"
- In reply to: MikesBrain: "Re: Port 22 SNAFU? Help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 18 Aug 2005 06:22:15 GMT
<Mike@N.UK> wrote in <F3PMe.11171$Wq4.7203@fe1.news.blueyonder.co.uk>:
> 2005-08-17, Responding to MikesBrain...
>> 2005-08-17, Responding to Darren Dunham...
>
> [...]
>>>> ssh from P1 to P2 connects without a problem even if port
>>>> 22 is dropped by the firewall, even with the #x# hashed-out
>>>> lines that should (in theory anyway) DROP a connect request
>>>> on port 22.
>>>
>>>> Therefore, logically, ssh is NOT using port 22, even though
>>>> it is specified in the config file.
>>>
>>> Can you just verify that?
>>>
>>> From P1, do 'telnet P2 22' and see if you get an SSH banner.
>>
>> I have whacked this about between the two machines for a
>> couple of days now, and the phrase "That shouldn't happen
>> should it?" is now a reflex action.
> [...]
>
> This post brings me pain and embarassment.
>
> The "reflex action" comment I made there got me thinking
> (some more), so I tested a hypothosis.
>
> The reason I've been getting such screwy results is because
> instead of restarting the firewall when I'd tried a tweak, I
> was still rattling off the restart for the sshd process
> (from previous repeated tweakings).
>
> Guess what results I was getting?
>
> I shall now turn all the pootas off and go and stand in the
> back garden for several days and try to keep still.
>
> Feel free to laugh. You can't make me feel any worse right
> now. 8(
>
> My thanks for your prodding.
Quite a common mistake I would say... :-)
When you stare yourself blind at a problem it helps to ask a friend for
help. Becase in explaining the problem, you get a fresh look at the
problem you have been digging yourself into.
Besides, you get a drive to find it out before your friend does :-)
Anyhow, getting the problem solved is the more important thing.
-- Stein Arne
- Previous message: Per Hedeland: "PAM changing user name"
- In reply to: MikesBrain: "Re: Port 22 SNAFU? Help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|