-
Notifications
You must be signed in to change notification settings - Fork 0
SSH
Yaroslav Gosudarkin edited this page Aug 18, 2021
·
2 revisions
- put private key to .ssh
- set permissions
In your home directory:
chown -R your_user:your_user .ssh
As for rights, go with 700 for .ssh and 600 for authorized_keys
chmod 700 .ssh
chmod 600 .ssh/authorized_keys
- ssh -i .ssh/key -p PORT name@host