Skip to content

Instantly share code, notes, and snippets.

@Cuncis
Created March 18, 2024 04:00
Show Gist options
  • Save Cuncis/95ed80068919266aaa26d07357645338 to your computer and use it in GitHub Desktop.
Save Cuncis/95ed80068919266aaa26d07357645338 to your computer and use it in GitHub Desktop.
- client machine
ssh-keygen
cp id_rsa.pub authorized_keys
cat id_rsa ----> copy to local file (ssh -i id_rsa <user>@<ip>)
chmod 700 ../.ssh/
chmod 600 *
chown woodenk:woodenk *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment