Skip to content

Instantly share code, notes, and snippets.

@etenzy
Created January 12, 2025 01:23
Show Gist options
  • Select an option

  • Save etenzy/e3d74018e8bba3ae5489c8c11b56b5a1 to your computer and use it in GitHub Desktop.

Select an option

Save etenzy/e3d74018e8bba3ae5489c8c11b56b5a1 to your computer and use it in GitHub Desktop.
Setup PubkeyAuthentication for synology user
#!/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