Re: RFC: ssh-copy-id tweaks

This is a discussion on Re: RFC: ssh-copy-id tweaks within the OpenSSH Development forums, part of the Networking and Network Related category; Ben Lindstrom <mouring@eviladmin.org> wrote: > I'm really not that much of a fan of either ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-01-2008
Nick Dokos
 
Posts: n/a
Default Re: RFC: ssh-copy-id tweaks

Ben Lindstrom <mouring@eviladmin.org> wrote:

> I'm really not that much of a fan of either method. Both fail if the
> auhtorized_keys file has any customizations (e.g. from="" in front of the
> key. Something I tend to do out of habbit after moving a key up to a new
> server).


That's a problem.

>
> If anything I'd rather see a solution where it it looks at the
> RSA/DSA/RSA1 key proper without any prefix logic and not insert a new
> entry if it finds one (with a nice message to that effect as well).
>
> The other two solutions are to me are no better than the existing behavior
> in this regards.
>


I think the grep-using implementation of Jim Knoble *is* better in that
respect both to the existing behavior and to either of the sort-using
suggestions. It avoids entering the key if it is already in the
authorized_keys file, key restrictions or no key restrictions (although
it does not produce the nice message). If it is not present, it appends
it.

Thanks,
Nick



_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:42 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0