Merge lp:~kermit666/ubuntu/precise/ssh-import-id/newline-fix into lp:~ssh-import-id/ssh-import-id/trunk.broke
Proposed by
Dražen Lučanin
on 2012-03-29
| Status: | Merged |
|---|---|
| Merged at revision: | 48 |
| Proposed branch: | lp:~kermit666/ubuntu/precise/ssh-import-id/newline-fix |
| Merge into: | lp:~ssh-import-id/ssh-import-id/trunk.broke |
| Diff against target: |
39 lines (+10/-4) 1 file modified
ssh-import-id (+10/-4) |
| To merge this branch: | bzr merge lp:~kermit666/ubuntu/precise/ssh-import-id/newline-fix |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Dustin Kirkland | 2012-04-04 | Pending | |
| ssh-import-id | 2012-03-29 | Pending | |
|
Review via email:
|
|||
Description of the Change
In the current version, the authorized_keys file created doesn't contain any newlines between items and because of this my public key isn't recognized. After manually adding newlines between items, it started to work.
Because of this I wrote this patch to do this automatically. The sed command to remove all the newlines is still there, so that there won't be an uncontrolled number of newlines, but instead exactly 2 lines between each item. The patch has two benefits:
- fixes my bug, my key is now recognized
- makes the authorized_keys file more easily readable
The validation check still works.
To post a comment you must log in.

