Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2010 09:09:21 -0500
From:      Jerry McAllister <>
To:        "Aryeh M. Friedman" <>
Subject:   Re: ssh to root
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 user@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.


> _______________________________________________
> mailing list
> To unsubscribe, send any mail to ""

Want to link to this message? Use this URL: <>