Skip to content

Instantly share code, notes, and snippets.

@paddy74
Last active May 22, 2019 01:49
Show Gist options
  • Save paddy74/8dced8ad0300cf0facebd8e654c7b590 to your computer and use it in GitHub Desktop.
Save paddy74/8dced8ad0300cf0facebd8e654c7b590 to your computer and use it in GitHub Desktop.
Set up ssh authentication with a server from user side
#!/bin/bash
chmod 700 ~/.ssh
chmod 644 ~/.ssh/id_*.pub
chmod 600 ~/.ssh/id_*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment