Date: Mon, 12 Apr 2004 16:24:03 +0200 From: "RazorOnFreeBSD" <yann.luppo@attglobal.net> To: "Remko Lodder" <remko@elvandar.org> Cc: freebsd-questions@freebsd.org Subject: Re: ssh root denied Message-ID: <009e01c4209a$02039c60$0f01a8c0@razor> References: <005301c42097$b175bb90$0f01a8c0@razor> <407AF825.40804@elvandar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for all everyone... It works! Enjoy your day.. ;) ----- Original Message ----- From: "Remko Lodder" <remko@elvandar.org> To: "RazorOnFreeBSD" <yann.luppo@attglobal.net> Cc: <freebsd-questions@freebsd.org> Sent: Monday, April 12, 2004 10:12 PM Subject: Re: ssh root denied > RazorOnFreeBSD wrote: > > Hi everyone, > > > > I have some troubles with ssh.... > > I have a Freebsd server 4.9 working in a closet without screen. > > So I would like to use it through ssh from another station with OpenSSH to configure it when I need it. > > I can connect with a user login / password, but not with root / password. > > Is there any reason ? did I miss something ? > > It's denied by default, as a security matter. You actually want to login > and use 'su -' instead of login as root directly. > > If you really want to enable it, > > Edit the file > /etc/ssh/sshd_config > #PermitRootLogin yes > > Remove the hash. > > But, know that it's not secure, and you really don't want that. > The login as normal user, (which need to be in the wheel group) and then > su -'ing isn't that much work and doesn't take that much time, but it's > more secure. > > Cheers > > -- > > Kind regards, > > Remko Lodder > Elvandar.org/DSINet.org > www.mostly-harmless.nl A Dutch community for helping newcomers on the > hackerscene > _______________________________________________ > 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?009e01c4209a$02039c60$0f01a8c0>