Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to modify name / comment field of ssh keys #127

Open
chiefnoah opened this issue Apr 30, 2024 · 1 comment
Open

Add ability to modify name / comment field of ssh keys #127

chiefnoah opened this issue Apr 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@chiefnoah
Copy link

For some reason the name field in my SSH keys are all empty. I don't want to have to try and remember the hash/signature of my keys, so being able to go back and modify the name would be very helpful in the pico.sh UI.

It's also unclear why the comment portion of my pubkeys was not filled in, they were definitely there when I put them in.

@neurosnap neurosnap added the enhancement New feature or request label May 10, 2024
@neurosnap
Copy link
Member

This has been implemented but we haven't written docs yet:

# download current authorized keys
rsync pico.sh:/authorized_keys ./authorized_keys
# made changes to the file
# then reupload
rsync ./authorized_keys pico.sh:/

The only caveat here is we will never remove the pubkey that is being used for the SSH session. This is to prevent users from accidentally locking themselves out of their account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants