Re: [Hampshire] confused ssh newbie

Top Page

Reply to this message
Author: Peter Andrijeczko
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] confused ssh newbie
Incidentally, if you're moving your SSH port because of bots trying to brute
force your SSH server, don't use a "guessable" port number like 2222.

I did put a honeypot PC in my DMZ for a while so that everything incoming
was forwarded to it by the router - and I have seen bots using other ports
than 22 for brute forcing.

--Peter

On 22 June 2011 03:09, Mike Burrows <testermike@???> wrote:

> Hi folks.
>
> I can ssh into my debian machine on port 22 (with that port forwarded on my
> router) using
>
> ssh testermike@???
>
> However, when i change the port to 2222 (changing the router of course) and
> repeat using
>
> ssh -p 2222 testermike@???
>
> I get an error that the connection was reset by peer and I cannot ssh in.
>
> What am I not doing please?
>
> TIA
> Mike
>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/**mailman/listinfo/hampshire<https://mailman.lug.org.uk/mailman/listinfo/hampshire>
> LUG URL: http://www.hantslug.org.uk
> ------------------------------**------------------------------**--
>