On Wed, Jan 20, 2010 at 10:49:09PM -0500, Aryeh M. Friedman wrote: > I need to set up a machine so that I can type "ssh [host]" as root from > some other host and I get a prompt with super user privs... I already > have set this up for u...@host for root and ssh host for normal users... > but root still asks for a password after I set the authorized_keys file > in ~root/.ssh.. I have looked at ssh_config(5) but can't tell what > option (if any) does this... if anyone is coruious the final goal here > is to set up a sysutils/fusefs-ssh for this host (already installed and > working for normal users but want to make it so it is done as root)
If you can stand to do it in two steps, put your non-root id in the wheel group (in /ec/group). Then ssh and log as the non-root user and then su(1) to root. As some have said, do not directly log in as root over the net if you can possibly avoid it. ////jerry > > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[email protected]" _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
