Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jul 2005 21:38:13 +0000
From:      jdyke <jdyke@azimapower.com>
To:        Efren Bravo <efrenba@dhl.co.cu>
Cc:        freeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Remote connection as root help
Message-ID:  <42CDA0C5.2030703@azimapower.com>
In-Reply-To: <42CD9EAF.1000307@dhl.co.cu>
References:  <42CD9EAF.1000307@dhl.co.cu>

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


Efren Bravo wrote:
> Hi,
> 
> Al last I could enter to freeBSD by SSH. After I erased all 
> inetd_enable="YES" instances except one. Also I downloaded the PuTTY 
> client.
> I had to create other user to connect myself to freeBSD because it 
> doesn't leave me as root user.
> How do I to connect myself to freeBSD by ssh as root?

you really should not.  but if you abosolutely want to, you can modify 
/etc/ssh/sshd_config and add PermitRootLogin Yes, its either commented out 
andn/or set to no, the default.  If this is open to any other traffic except for 
local lan, then just use the better approach....

ssh in and then `su - ` and enter roots password.  of course to do this, you 
must have entered your other user as part of group 'wheel'

Jd
> 
> Thanks...
> 
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
> 



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