Created
June 28, 2020 13:41
-
-
Save mgmgpyaesonewin/dd2b9b1f55e13eb52734b37689fd41ec to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| How to set SSH key for multiple users? | |
| Switch to the user: | |
| su a | |
| Generate SSH keys: | |
| ssh-keygen | |
| {hit enter a few times} | |
| Create/edit authorized keys file: | |
| nano ~/.ssh/authorized_keys | |
| Paste your public key in that file and close it out. | |
| Rinse and repeat with each user. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment