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

Use priority list for pubkey names #341

Open
holmanb opened this issue Feb 14, 2024 · 0 comments
Open

Use priority list for pubkey names #341

holmanb opened this issue Feb 14, 2024 · 0 comments

Comments

@holmanb
Copy link
Member

holmanb commented Feb 14, 2024

Defaulting to $HOME/.ssh/id_rsa.pub made more sense when that was the default key type generated by ssh-keygen, but in Noble that is not the case:

$ ssh-keygen 
Generating public/private ed25519 key pair.
Enter file in which to save the key (/home/holmanb/.ssh/id_ed25519):

For convenience it would be nice if we could check a priority list of key names for their existence rather than assuming a single file.

a-dubs added a commit to a-dubs/pycloudlib that referenced this issue Aug 26, 2024
Since Ubuntu 24.04 LTS and newer, the default location for ssh keys is
`~/.ssh/id_ed25519` instead of `~/.ssh/id_rsa`. Thus, when no ssh key
path is specified, this commit changes pycloudlib to check for an
existing ssh key at either  `~/.ssh/id_ed25519` or `~/.ssh/id_rsa`.

Fixes GH canonical#341
a-dubs added a commit to a-dubs/pycloudlib that referenced this issue Aug 28, 2024
Since Ubuntu 24.04 LTS and newer, the default location for ssh keys is
`~/.ssh/id_ed25519` instead of `~/.ssh/id_rsa`. Thus, when no ssh key
path is specified, this commit changes pycloudlib to check for an
existing ssh key at either  `~/.ssh/id_ed25519` or `~/.ssh/id_rsa`.

Fixes GH canonical#341
a-dubs added a commit to a-dubs/pycloudlib that referenced this issue Sep 24, 2024
Since Ubuntu 24.04 LTS and newer, the default location for ssh keys is
`~/.ssh/id_ed25519` instead of `~/.ssh/id_rsa`. Thus, when no ssh key
path is specified, this commit changes pycloudlib to check for an
existing ssh key at either  `~/.ssh/id_ed25519` or `~/.ssh/id_rsa`.

Fixes GH canonical#341
a-dubs added a commit to a-dubs/pycloudlib that referenced this issue Sep 24, 2024
Since Ubuntu 24.04 LTS and newer, the default location for ssh keys is
`~/.ssh/id_ed25519` instead of `~/.ssh/id_rsa`. Thus, when no ssh key
path is specified, this commit changes pycloudlib to check for an
existing ssh key at either  `~/.ssh/id_ed25519` or `~/.ssh/id_rsa`.

Fixes GH canonical#341
a-dubs added a commit to a-dubs/pycloudlib that referenced this issue Oct 14, 2024
Since Ubuntu 24.04 LTS and newer, the default location for ssh keys is
`~/.ssh/id_ed25519` instead of `~/.ssh/id_rsa`. Thus, when no ssh key
path is specified, this commit changes pycloudlib to check for an
existing ssh key at either  `~/.ssh/id_ed25519` or `~/.ssh/id_rsa`.

Fixes GH canonical#341
a-dubs added a commit to a-dubs/pycloudlib that referenced this issue Oct 14, 2024
Since Ubuntu 24.04 LTS and newer, the default location for ssh keys is
`~/.ssh/id_ed25519` instead of `~/.ssh/id_rsa`. Thus, when no ssh key
path is specified, this commit changes pycloudlib to check for an
existing ssh key at either  `~/.ssh/id_ed25519` or `~/.ssh/id_rsa`.

Fixes GH canonical#341
a-dubs added a commit to a-dubs/pycloudlib that referenced this issue Oct 14, 2024
Since Ubuntu 24.04 LTS and newer, the default location for ssh keys is
`~/.ssh/id_ed25519` instead of `~/.ssh/id_rsa`. Thus, when no ssh key
path is specified, this commit changes pycloudlib to check for an
existing ssh key at either  `~/.ssh/id_ed25519` or `~/.ssh/id_rsa`.

Fixes GH canonical#341
a-dubs added a commit to a-dubs/pycloudlib that referenced this issue Oct 15, 2024
Since Ubuntu 24.04 LTS and newer, the default location for ssh keys is
`~/.ssh/id_ed25519` instead of `~/.ssh/id_rsa`. Thus, when no ssh key
path is specified, this commit changes pycloudlib to check for an
existing ssh key at either  `~/.ssh/id_ed25519` or `~/.ssh/id_rsa`.

Fixes GH canonical#341
a-dubs added a commit that referenced this issue Oct 15, 2024
Since Ubuntu 24.04 LTS and newer, the default location for ssh keys is
`~/.ssh/id_ed25519` instead of `~/.ssh/id_rsa`. Thus, when no ssh key
path is specified, this commit changes pycloudlib to check for an
existing ssh key at either  `~/.ssh/id_ed25519` or `~/.ssh/id_rsa`.

Fixes GH #341
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant