Last active
July 17, 2020 02:40
-
-
Save richardpeng/ffb716067928371aa7dda629fbd591fa to your computer and use it in GitHub Desktop.
Yubikey FIDO2 OpenSSH #bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# MacOS: Install latest OpenSSH | |
brew install openssh | |
# Generate new keypair | |
ssh-keygen -t ecdsa-sk | |
# Your key pair will be in ~/.ssh/id_ecdsa_sk and can be used as normal ssh key so id_ecdsa_sk.pub can be copied to your servers authorized_keys file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment