Nux
Nux's Blog

Follow

Nux's Blog

Follow

Setup SSH Passwordless Login

Nux's photo
Nux
·Aug 24, 2022·

1 min read

1. Create ssh-keygen keys

$ ssh-keygen -t rsa

2. Copy the ssh key using ssh-copy-id command

$ ssh-copy-id user@192.168.10.10

3. If there's a prompt password, you need to enter the password

$ ssh-copy-id user@192.168.10.10
$ user@192.168.10.10's password:

4. Logged in.

user@192.168.10.10:~$
 
Share this