ssh-import-id
Alex Bligh
alex at alex.org.uk
Thu Dec 16 12:25:44 EST 2010
--On 15 December 2010 13:37:10 -0600 Dustin Kirkland <kirkland at ubuntu.com>
wrote:
> Right now, it works as the current user, on the current user's
> ~/.ssh/authorized_keys file.
>
> I'd use sudo and su to run ssh-import-id as another user, to operate
> on their authorized_keys file.
Sure it's possible (hell, it's possible to do the entire thing in
perl as we have demonstrated) but addition of a -u flag for root use
would save a whole pile of hassle.
--
Alex Bligh
More information about the openssh-unix-dev
mailing list