top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How can we ssh to any machine without password on Linux/Unix Platform?

+3 votes
94 views
How can we ssh to any machine without password on Linux/Unix Platform?
posted Nov 17, 2014 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+3 votes

There are few steps need to be done to achieve this:

  1. Log into machine X using ssh.
  2. Trigger "ssh-keygen -t rsa". It generates key pair
  3. Copy the generated public key .ssh/id_rsa.pub into another machine Y (the machine which you want to ssh without using password) at path .ssh/authorized_keys.
  4. Do ssh Y . It will not ask password.
answer Nov 18, 2014 by Vimal Kumar Mishra
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...