[FFe] ssh-import-lp-id: retrieve a key from Launchpad and add to the authorized_keys file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server papercuts |
Invalid
|
Wishlist
|
Unassigned | ||
cloud-utils (Ubuntu) |
Fix Released
|
Wishlist
|
Dustin Kirkland | ||
Lucid |
Fix Released
|
Wishlist
|
Dustin Kirkland |
Bug Description
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-import-id that does something similar. It retrieves a key from a remote public keyserver and appends it to my local .ssh/authorized
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-import-id cjwatson
It also supports more than one ID as arguments. So you could just as easily do:
ssh-import-id 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.
summary: |
- ssh-authorize - retrieve a key from a public keyserver and add to the + ssh-import-id - retrieve a key from a public keyserver and add to the authorized_keys file |
description: | updated |
Changed in openssh (Ubuntu): | |
assignee: | Colin Watson (cjwatson) → nobody |
description: | updated |
affects: | openssh (Ubuntu) → ubuntu |
Changed in ubuntu: | |
status: | Invalid → Triaged |
Changed in ssh-import: | |
status: | In Progress → Fix Released |
affects: | Ubuntu Lucid → cloud-utils (Ubuntu Lucid) |
Changed in cloud-utils (Ubuntu Lucid): | |
assignee: | Dustin Kirkland (kirkland) → nobody |
milestone: | ubuntu-10.04-beta-1 → none |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in cloud-utils (Ubuntu Lucid): | |
milestone: | none → ubuntu-10.04-beta-1 |
Changed in cloud-utils (Ubuntu Lucid): | |
status: | Triaged → In Progress |
Changed in ssh-import: | |
status: | Fix Released → Invalid |
Script attached.