Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir ~/.ssh
- Set the right permissions:
- chmod 700 ~/.ssh
- Create the authorized_keys file:
- touch ~/.ssh/authorized_keys
- Set the right permissions:
- **OR**
- vi ~/.ssh/authorized_keys
- chmod 600 ~/.ssh/authorized_keys
- ##
- mkdir ~/.ssh; chmod 700 ~/.ssh ; touch ~/.ssh/authorized_keys ; chmod 600 ~/.ssh/authorized_keys ; vi ~/.ssh/authorized_keys
Advertisement