Created
January 12, 2025 01:23
-
-
Save etenzy/e3d74018e8bba3ae5489c8c11b56b5a1 to your computer and use it in GitHub Desktop.
Setup PubkeyAuthentication for synology user
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
| #!/usr/bin/env bash | |
| chmod 755 ~ | |
| mkdir ~/.ssh | |
| chmod 700 ~/.ssh | |
| touch ~/.ssh/authorized_keys | |
| chmod 600 ~/.ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment