Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2007 11:45:09 +0300
From:      "Abdullah Ibn Hamad Al-Marri" <almarrie@gmail.com>
To:        "DSA - JCR" <juancr@dsa.es>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: connecting user root with ssh
Message-ID:  <499c70c0705290145w309bd308u83f39f3791c5b3f@mail.gmail.com>
In-Reply-To: <11066.217.114.136.135.1180427946.squirrel@llca513-a.servidoresdns.net>
References:  <11066.217.114.136.135.1180427946.squirrel@llca513-a.servidoresdns.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 5/29/07, DSA - JCR <juancr@dsa.es> wrote:
> Hi all
>
> I was trying to connect to my FreeBSD 6.2 box with SSH with PUTTY by
> several days with the user "root" and nothing happens, only a denied
> password from FBSD, and a timeout close connection.
>
> But, a flash came to my mind ;D and then I tried to connect by a different
> user and... "voila", ssh connections came alive !!..
>
> My question is: if root user is locked to connect by ssh (I think it maybe
> logic, but..)
>
> If it is so, how can I make an user that has same priviliges as root (I
> beg your pardon for this newbie question...) I think that wheel group is
> ok but what more?..
>
> The think is that I need to connect to my FBSD box from outside the office
> in a secure manner and control it,... well, surely you know this ;D
>
>
> Thanks in advance
>
> "The more I learn FreeBSD, the more I love it"
>
> Juan Coruña
> Desarrollo de Software Atlantico

Hello,

You can create a user and add the user into the wheel in /etc/group

It's not recommended to ssh to the box using root, use su after you
log to the shell.

If you are insist to ssh as root which is disabled by default in
sshd_config, you can uncomment it, you are warned, do not allow SSH to
your box with user root at all.

-- 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499c70c0705290145w309bd308u83f39f3791c5b3f>