How to login to another computer ?

I have tried this in Cent OS and worked fine.

# Login to another computer

-> ssh root@ipaddress [ example: ssh root@ ]

# Login to another computer without password

# Step One:

-> ssh-keygen

#Step Two:

-> Press Enter few times.

#Step Three:

-> Check for the file id_rsa and if created in /root/.ssh

# Step Four: Copy and paste two files into the destination computer

-> ssh-copy-id root@

DONE !!!

It will ask for a password one time.

Leave a Comment