[Bug 524226] Re: ssh-authorize - retrieve a key from a public keyserver and add to the authorized_keys file

Dustin Kirkland dustin.kirkland at gmail.com
Fri Feb 19 04:27:39 GMT 2010


Script attached.

** Attachment added: "ssh-authorize"
   http://launchpadlibrarian.net/39387619/ssh-authorize

** Description changed:

  ssh-copy-id is a great script for adding my public key to a remote
  server.
  
  I have a script in my ~/bin called ssh-authorize that does something
  similar.  It retrieves a key from a remote public keyserver and appends
  it to .ssh/authorized_keys.
  
  By default, it uses Launchpad.net.  But the URL environment variable
  could be mangled accordingly.
  
  This script is incredibly useful for EC2 and UEC virtual machines, when
  I want to give someone else access to a VM.  I can trivially run:
  
-   ssh-authorize cjwatson
+   ssh-authorize cjwatson
+ 
+ It also supports more than one ID as arguments.  So you could just as
+ easily do:
+ 
+   ssh-authorize cjwatson kirkland kees
  
  Ideally, this script would find a home in Ubuntu's openssh-server
  package.  If this isn't appropriate, we could find a home in cloud-init
  or cloud-utils, though I suspect that many non-UEC Ubuntu users might
  find it useful too.

** Changed in: openssh (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: openssh (Ubuntu)
     Assignee: (unassigned) => Colin Watson (cjwatson)

-- 
ssh-authorize - retrieve a key from a public keyserver and add to the authorized_keys file
https://bugs.launchpad.net/bugs/524226
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.



More information about the Ubuntu-server-bugs mailing list