My Raspberry Pi is running the default Debian image and has SSH enabled. I log into my Pi as follows:ssh pi@<IP-address-of-my-Pi>I have to enter my password every time. Can I somehow make my Pi accept log ins from my local machine? I am running Fedora Linux.
How can I set up SSH on Linux to log in password-less?
ssh;authentication
Yes, you can automate the authentication with your Raspberry Pi using SSH.As prerequisites the following is required:You have enabled SSH on the Pi. You know your Pi's IP Address.LinuxUnder Linux you can install SSH via you package manager, generate a keypair using ssh-keygen, copy the key to the Pi using ssh-copy-id and test using ssh.Install SSH on LinuxMost Linux distributions come with an SSH-client preinstalled. If you should for some reason not have one, install it using your package manager:For RPM-based Linux distributions (eg. Fedora and Suse):sudo yum install sshFor DEB-based Linux distributions (eg. Debian and Ubuntu):sudo apt-get install sshGenerate a Keypair on LinuxFirst, you will need a public/private keypair. So if you don't have one, run the following command to generate a keypair with the default settings.$ ssh-keygengenerating public/private rsa key pair.Enter file in which to save the key (/home/user/.ssh/id_rsa):Enter passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved in /home/user/.ssh/id_rsa.Your public key has been saved in /home/user/.ssh/id_rsa.pub.The key fingerprint is:24:55:ee:67:83:72:82:55:5f:b9:b4:09:2a:fa:56:a1 user@client.localThe key's randomart image is:+--[ RSA 2048]----+|                 ||                 ||                 ||         +    .  ||        S    E   ||         .  + +  ||          .o . o.||         o.oo. oo||          ==o.BO+|+-----------------+Copy the Public Key to the Pi on LinuxSecondly, you will need to copy the generated public key to the machine you want to log to without a password. So, run the following command on the machine and as the user, you want to be able to access the Pi:$ ssh-copy-id pi@<IP-address-of-your-Pi>Password:Now try logging into the machine, with ssh 'pi@<IP-address-of-your-Pi>', and check in:  .ssh/authorized_keysto make sure we haven't added extra keys that you weren't expecting.SSH into the Pi on LinuxFinally, log in using SSH, to verify that no password is requested:$ ssh pi@<IP-address-of-your-Pi>