Ngô Trường Vủ
New member
How do I enable public key authentication?
Answer
Procedure
Answer
Procedure
- Use the ssh-keygen tool to create a key pair. …
- Validate that the keys were generated. …
- Enable key-based authentication in the /etc/ssh directory on the SSH server. …
- Copy the rsa. …
- If you have an existing authorized_keys file, edit it to remove any no-pty restrictions.