Import ssh keys from plain http url

Bug #1782764 reported by Arti Zirk on 2018-07-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

It would be nice if it were possible to import ssh key by just running
`ssh-import-id https://mypage.test/keys` or something similar.

I have written a patch attached below that does that.

[PATCH] Implement public key import from plain http url

This commit will enable generic http/https ssh key importer
that does not depend on pre existing support for special API.

Quite many diferent services already have support for providing
ssh public keys in a plain text authorized_keys file format.
Also setting it up on your own controlled http server is quite easy.

Just give ssh-import-id a url with ssh keys and it will do the rest.

Import from self hosted https server

Import from a Gogs git service

Import from Debian GitLab instance

Import from Github without using the json api

Scott Moser (smoser) on 2018-12-13
Changed in ssh-import-id:
status: New → Triaged
importance: Undecided → Medium
status: Triaged → Confirmed
importance: Medium → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers