Discussion:
[savannah-help-public] [sr #109511] editsshkeys.php: Make it more prominent that ~/.ssh/id_rsa.pub should be used
Ineiev
2018-05-24 07:05:23 UTC
Permalink
URL:
<http://savannah.gnu.org/support/?109511>

Summary: editsshkeys.php: Make it more prominent that
~/.ssh/id_rsa.pub should be used
Project: Savannah Administration
Submitted by: beloved
Submitted on: Thu 24 May 2018 07:05:22 AM UTC
Should Start On: Tue 22 May 2018 10:00:00 PM UTC
Should be Finished on: Tue 22 May 2018 10:00:00 PM UTC
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00

_______________________________________________________

Details:

https://savannah.gnu.org/my/admin/editsshkeys.php

* Change "Authorized keys:" to "Authorized ~/.ssh/id_rsa.pub keys:"
* or put or (move) "~/.ssh/id_rsa.pub" under the section "Authorized keys:"

Users might add the output of `ssh-add -l` in the fields if you don't make
this more obvious.




_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Ineiev
2018-05-24 07:15:18 UTC
Permalink
Update of sr #109511 (project administration):

Status: None => Need Info
Assigned to: None => ineiev

_______________________________________________________

Follow-up Comment #2:

When I think about this change, I can't miss my own case. I use gpg-agent
instead of ssh-agent, so I have no ~/.ssh/id* at all, and in fact no file I
could use to directly paste in that field. I think I use ssh-add -L; but
people may not use any agent, so ssh-add -l lists nothing for them.

Then, is it really ...rsa... and not ...ecdsa... or some other key type? I'm
lost.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
David Hedlund
2018-05-24 07:18:33 UTC
Permalink
Post by Ineiev
When I think about this change, I can't miss my own case. I use gpg-agent
instead of ssh-agent, so I have no ~/.ssh/id* at all, and in fact no file I
could use to directly paste in that field. I think I use ssh-add -L; but
people may not use any agent, so ssh-add -l lists nothing for them.

Perhaps it's better to suggest something else then. I don't know.
Post by Ineiev
Then, is it really ...rsa... and not ...ecdsa... or some other key type? I'm
lost.

You can backup your key and generate new ones to get the file names.


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Ineiev
2018-05-24 07:27:31 UTC
Permalink
Post by David Hedlund
Perhaps it's better to suggest something else then. I don't know.
"When unsure, check our documentation on SSH access
<https://savannah.gnu.org/maintenance/SshAccess/>"?

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
David Hedlund
2018-05-24 07:32:33 UTC
Permalink
Follow-up Comment #5, sr #109511 (project administration):

Yes, that's a good idea.

Also, please add html CODE elements to the sample key like this:

<code>ssh-rsa
AAAAB3NzaC1kc3MAAACBAJrWOtbu064jGhpa8aPEUwuRXSKgKD5Tw4hyCjwSGXYUc3+YBzJD1Gh7mxGn6NaaKC3WrfqdghiGC3apwyz2oyuD/VqLM7BFprGxn+IW/T9Y8Bqny+MbQiccXx3jhENsBHZtzYuxubZc7mDeBS8DnWppsC0VWcTkqAyE8nXP1eOJAAAAFQDsRd3zm11x9D/YHD6DEy6whNwl7wAAAIBJTkTf70LRpPz4YZOFxHA2653WIm3qGjX9d9zodjycfOJQmfPetMdlKfvPl/hmuaOnx/fs3Iz3mEsPgCocB1wSSSyU8kpekcgrhqn4QIwQJgsyLjtbWO6VyPMw1YUKxE3e0pHCfN75+4eijAmiJnM2A7KTxesJZNe3IpBNncuEUgAAAIAL041kJojPdIteuyE+yeVYbZOQZSBMMKUAZMSUdOoxNRM/CbDzh6E6Pc1cRvv2sOITH7svenfttTBjK8hc8EZBAVv3Or1JppSRTsRQq8n9R5Q8qgEY5t2gO4xbli/7wKNq1RYmHQTWf5myXih7lN4qFjfir4BJyPC/uJc3yxuD0Q==
***@localhost.localdomain</code>


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Ineiev
2018-05-24 13:31:11 UTC
Permalink
Update of sr #109511 (project administration):

Status: Need Info => Ready For Test

_______________________________________________________

Follow-up Comment #6:

I've just modified that page; not sure if it helps very much, though.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
David Hedlund
2018-05-24 13:39:48 UTC
Permalink
Follow-up Comment #7, sr #109511 (project administration):

Definitely an improvement. You could set a background color on the code
element like seen on the date command in
https://directory.fsf.org/wiki/Template:IRC_text

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Ineiev
2018-05-25 06:47:13 UTC
Permalink
Update of sr #109511 (project administration):

Status: Ready For Test => Works For Me

_______________________________________________________
You could set a background color on the code element
like seen on the date command
in https://directory.fsf.org/wiki/Template:IRC_text
Done.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
David Hedlund
2018-05-25 06:50:48 UTC
Permalink
Follow-up Comment #9, sr #109511 (project administration):

Thank you, it looks better.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
David Hedlund
2018-05-25 07:19:33 UTC
Permalink
Follow-up Comment #10, sr #109511 (project administration):

I would be nice to have a different background for HTML `pre` elements as
well. Like for the "----BEGIN PGP PUBLIC KEY BLOCK-----" block in
https://savannah.gnu.org/my/admin/change.php?item=gpgkey

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Ineiev
2018-05-26 08:43:10 UTC
Permalink
Update of sr #109511 (project administration):

Status: Works For Me => Done
Open/Closed: Open => Closed

_______________________________________________________

Follow-up Comment #11:

Done.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
David Hedlund
2018-05-26 09:53:06 UTC
Permalink
Follow-up Comment #12, sr #109511 (project administration):

Very nice formatting. Thanks.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Loading...