Skip to content

Feature request: separate endpoints to download key and cert

Endpoints for:

https://{host}/sshshare/share/{secret_key}/{secret_key}-key

https://{host}/sshshare/share/{secret_key}/{secret_key}-cert.pub

to simplify running:

curl https://{host}/sshshare/share/{secret_key}/{secret_key}-key >~/.ssh/{secret_key}-key
curl https://{host}/sshshare/share/{secret_key}/{secret_key}-cert.pub >~/.ssh/{secret_key}-cert.pub

(or an alternative tarred version that allows something like: curl https://{host}/sshshare/share/{secret_key}.tar | tar x)