How to connect without password using SSH (passwordless)

<p>SSH Secure Shell Protocol is a cryptographic protocol for secure data connection and remote command execution.</p> <p>In this article, we are going to see how to configure SSH for a passwordless login to a remote machine.</p> <p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/0*P49teRaD1JbYPK_K" style="height:468px; width:700px" /></p> <h1>1. Make sure that SSH server is running</h1> <p>Run the following command to start the ssh service :&nbsp;<code>$ sudo service sshd start</code>&nbsp;or&nbsp;<code>$ sudo systemtcl start sshd</code></p> <p>Check service status using:&nbsp;<code>$ sudo service sshd status</code>&nbsp;or&nbsp;<code>$ sudo systemctl status sshd</code></p> <p>Run the following command to make sure that the sshd service is still active when you restart your system&nbsp;<code>$ sudo chkconfig sshd on</code></p> <p><a href="https://levelup.gitconnected.com/how-to-connect-without-password-using-ssh-passwordless-9b8963c828e8"><strong>Learn More</strong></a></p>
Tags: password SSH