I want to automate the process of generating RSA keys. I want to remotley login to a linux machine from a windows maching without having to enter a password. For this I need to generate the RSA key pair. but I want to do this procedure on alot of linux machines. For which I was looking to automate the procedure. i would need a batch file to do so. I have no clue if this kind of a thing is feasible or not. I dont even know where to start from.
How would I scp into the remote machine to copy the public keys