connecting user root with ssh

John Fitzgerald jjfitzgerald at gmail.com
Tue Jul 24 19:46:37 UTC 2007


In /etc/ssh/sshd_config uncomment Port 22 and change it.

On 7/24/07, Hakan K <dominor at gmail.com> wrote:
> How can I change the ssh port?
>
>
>
> Thanks
> Troy
> http://dominor.com
>
> On 7/24/07, Pollywog <lists-fbsd at shadypond.com> wrote:
> >
> > On Tuesday 24 July 2007 11:33:26 Norberto Meijome wrote:
> > > On Wed, 30 May 2007 02:06:38 -0700
> > >
> > > perryh at pluto.rain.com wrote:
> > > > * If "root" cannot log in remotely, a cracker has to guess three
> > >
> > > guess or brute force - so  quite long random passwords (or ssh keys) are
> > > extremely recommendable.
> > >
> > > >   things to obtain root access, instead of just one:
> > > >
> > > >   + A valid username which is in the "wheel" group;
> > > >   + That user's password;
> > > >   + The root password.
> > >
> > > that is assuming, of course, that the user your just logged in with
> > belongs
> > > to wheel.
> >
> > If one must allow root logins via ssh, I recommend in sshd_config:
> >
> > PermitRootLogin without-password
> >
> > This will force the use of a passphrase and disallow root login with just
> > a
> > password.
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscribe at freebsd.org"
> >
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list