I have two Linux machines, LinMacA (192.168.28.241) and LinMacB (192.168.28.242).
I transfer files using SFTP from LinMacB to LinMacA, using usernames and passwords.
But now I want to establish a password-less SFTP using a public key so that LinMacB can transfer files to LinMacA through SFTP without having the need to enter a password.
How do I create a public key and for which machine should I create it for?
I generated a private/public key pair using PuTTY Key Generator on my Windows machine but I'm not quite sure what are the next steps.