Skip to content

step ssh without sudo #582

Answered by maraino
LecrisUT asked this question in Q&A
May 24, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @LecrisUT:

The line looks like:

@cert-authority * ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNLM+CBRbFqpYqjz+wjfnSsgLyyTPSphBtqcZ2TgXkrtNledIfAUsv1yX9B/aq3yycaaDbzU/EWJXHm1I5eoc1E=

Where ecdsa-sha2-nistp256 AAAA... is the public key used to sign host certificates. You can use step ssh config to automatically configure the user so a file with this is added to $(step path)/ssh/known_host and a config included from ~/.ssh/config. is added to $(step path)/ssh/config.

You might want to modify the Match rule in that last file, the open source version matches the hosts that have signed an SSH key with it.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@LecrisUT
Comment options

@maraino
Comment options

Answer selected by LecrisUT
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants