ssh-import-id should support writing to other files

Bug #688574 reported by Scott Moser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ssh-import-id (Ubuntu)
Fix Released
Wishlist
Dustin Kirkland 

Bug Description

ssh-import-id only writes to ~/.ssh/authorized_keys.

It should support taking an argument for output, and should also support *not* trying to validate the keys.

The reason to not try to validate is that it is possible ssh may accept some keys that ssh-import-id considers invalid, leaving you in a state where ssh-import-id is not useful to you.

Related branches

Andreas Olsson (andol)
Changed in openssh (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

A option for disabling key validation is fine, but in cases where ssh-import-id's validate function fails, I'd like to see those filed as specific bugs and get those fixed in the key validation.

Changed in openssh (Ubuntu):
status: New → In Progress
assignee: nobody → Dustin Kirkland (kirkland)
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

As for output, it would be great if ssh-import-id could write to stdout or a specified file.

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Moving this over to ssh-import-id.

affects: openssh (Ubuntu) → ssh-import-id (Ubuntu)
Changed in ssh-import-id (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ssh-import-id - 2.2-0ubuntu1

---------------
ssh-import-id (2.2-0ubuntu1) natty; urgency=low

  [ Scott Moser ]
  * use getopt, send 'info' to stderr, add '--output', LP: #688574
    - support '--help'
    - add '--output' or '-o' option to write downloaded and
      verified data to a named file (supporting '-' for stdout) rather
      that writing to users .ssh/authorized_keys
    - send 'info' output to standard error rather than standard out
      This is required to deal with '--output -'
  * remove carriage returns from key strings (LP: #651698)

  [ Dustin Kirkland ]
  * ssh-import-id.1: updated to reflect smoser's changes
  * debian/install, ssh_import_id, ssh-import-id: allow for URL to be
    admin-configurable, to point to other SSH public key stores besides
    Launchpad.net
  * ssh-import-id.1: document /etc/ssh/ssh_import_id
 -- Dustin Kirkland <email address hidden> Wed, 05 Jan 2011 08:59:28 -0600

Changed in ssh-import-id (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.