How do I prevent unauthorized ssh login attempts?

Pietro Cerutti pietro.cerutti at gmail.com
Thu Apr 26 11:12:42 UTC 2007


On 4/26/07, Andreas Widerøe Andersen <wodfer at gmail.com> wrote:
> On 4/26/07, Arek Czereszewski <arekczer at gmail.com> wrote:
> >
> > Andreas Widerøe Andersen wrote:
> > > I'm getting a lot of unauthorized ssh login attempts. I have a pretty
> > basic
> > > FreeBSD 6.2 setup. I have compiled my own kernel. Here's what I get from
> > my
> > > daily security run output:
> > [...]
> >
> > Run sshd on other port.
> > And say about this your ssh users.
>
>
> Can I change the ssh port on a live server somehow without getting locked
> out? The server is on a remote co-location a flight away from me.

Yes you can. SSH will keep your connection active until you log out,
then you can log in using the new port

>
> /Andreas


-- 
Pietro Cerutti

- ASCII Ribbon Campaign -
 against HTML e-mail and
 proprietary attachments
   www.asciiribbon.org


More information about the freebsd-questions mailing list