The more you get involved with all this IT/software/programming stuff, the quicker you'll realize that the possibilities of the associated automation make you terribly lazy.
One of those moments when you think of a possibility for automation or simplification is when you log into your RaspberryPi (or Linux system) for the 48th time via puTTy.
Especially when processes are repeated so often, you can save a lot of time if you make the effort to shorten this process in the future.
How you can save yourself having to enter your username and password for your RaspberryPi in the future is explained in the following article.
Safety instructions
I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.
https://www.nerdiy.de/sicherheitshinweise/
Affiliate links/advertising links
The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. 🙂
Requirements
Helpful articles:
Before you start with the article you should prepare the RaspberryPi so that it is accessible via the network and controllable via SSH.
The following three articles describe what needs to be done to prepare the RaspberryPi:
RaspberryPi – setup for nerdiys!
RaspberryPi – The first configuration!
RaspberryPi – Control the RaspberryPi via SSH
Required material:
-no-
Required material:
In the following list you will find all the parts you need to implement this article.
Log in to the RaspberryPi via SSH
To start, you must first log in to the Rasp Pi with Putty via SSH. How to do this is in the article RaspberryPi - Control the RaspberryPi via SSH described.

Generate an SSH key pair
In order for the login into a remote system to work without entering a password, you must exchange the keys that encrypt your connection to the system in advance and thus make them known.
To do this, they have to be created first. This can be done with the following command.
ssh-keygen -t rsa -b 4096






Public key exchange

cd ~/.ssh

ssh-copy-id -i id_rsa.pub pi@rasPi





ATTENTION: Please keep in mind that you are opening a potential security hole on one of your systems. Use strong passwords – at least on the system from which you log into the remote system – and use them responsibly.
Have fun with the project
I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂
PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂