Skip to content

Help me understand SSH certificate workflow #622

Answered by mmalone
danb35 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @danb35!

Sounds like you've got the right high level mental model. Hope you've figured out OIDC! Lemme try to answer your questions.

does that also work if I just ssh host, since my login at the system I use most often is also dan?

Yes. We're not doing anything special here, really. The OpenSSH client assumes your remote username is the same as the local username by default, so if they match you don't need to specify one. If they don't match you can also use ssh_config to specify your username for a specific host, or a group of hosts (if you're curious, man ssh_config is pretty good / you'll want to check out the Host, Match exec and User directives).

But what about root? Do I do a …

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@tashian
Comment options

tashian Jul 19, 2021
Collaborator

@tashian
Comment options

tashian Jul 19, 2021
Collaborator

@danb35
Comment options

@logopk
Comment options

@maraino
Comment options

Answer selected by danb35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants