- Ssh private key auth
- generate private key
ssh-keygen
- move to server
- on client copy
cat ~/.ssh/id_rsa.pub
- paste in
nano ~/.ssh/authorized_keys
- on client copy
- Disable password authentication
go tonano /etc/ssh/sshd_config
changePasswordAuthentication
line tono
- generate private key
Last active
May 18, 2019 08:11
-
-
Save kolay-v/d597bcea74b8abacec3f7c7dee7c0c0d to your computer and use it in GitHub Desktop.
Configure remote server
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment