On your local machine, generate an SSH key pair:
```bash
ssh-keygen -t rsa -b 4096
```
This creates id_rsa (private key) and id_rsa.pub (public key).
Copy the contents of id_rsa.pub into /root/.ssh/authorized_keys on the server (you can use ssh-copy-id or upload it via SFTP).
Connect to the server locally using:
```bash
ssh -i ~/.ssh/id_rsa root@
```
You will now be able to log in without entering a password.
Thank you for your feedback.
Sorry about that :( We'll work to make it better.
You voted before.
1 times viewed | 0 people fount it helpful