Created 04-21-2020 11:35 PM
Hello,
I want to do a passwordless ssh login to my localhost.
I tried the following steps many times but it asks for password when i try "ssh localhost".
1. ssh-keygen
2. cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
3. chmod 700 ~/.ssh
4. chmod 600 ~/.ssh/authorized_keys
This is screenshot of my terminal.
I tried the same steps to login from localhost to udhav.fqdn.com, but even now it promts me for password.
For the second case i followed steps provided in this link.
https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/
I guess i am doing small mistake. Can anyone help me with this?
Thank you.
Created 04-22-2020 04:26 AM
Want to get a detailed solution you have to login/registered on the community
Register/LoginCreated 04-22-2020 04:26 AM
Want to get a detailed solution you have to login/registered on the community
Register/LoginCreated 04-22-2020 04:36 AM
@stevenmatison after this will i be able to use the hostname as a target host while creating a cluster in ambari?
And also i am using ubuntu 18.04.
Thank you
Created 04-22-2020 05:11 AM
@Udhav Yes. Once you complete the rest of the node readiness (install repos, ambari-server, ambari-agent) you would visit http://[fqdn]:8080 and begin rest of cluster install via Ambari.
Created 04-22-2020 05:14 AM
@stevenmatison Thank you very much!