ssh-import-id

Dustin Kirkland kirkland at ubuntu.com
Fri Dec 17 01:07:03 EST 2010


On Wed, Dec 15, 2010 at 7:25 PM, Alex Bligh <alex at alex.org.uk> wrote:
>
>
> --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.

Fair enough ;-)

If that's a blocker to getting this tool upstream into openssh, I'll
gladly add a -u option.

:-Dustin


More information about the openssh-unix-dev mailing list