I've been looking up on how to set up public key authentication between two hosts on my LAN. I am going to be using a pass phrase with my key pair.
A lot of tutorials instruct me to generate the key pair and send the public key to the target machine. Is it OK to send over my private key instead? Sometimes other hosts on my LAN are Windows and they don't always have the means to easily generate public keys, so it's often easier to generate them elsewhere.
I understand that given the environment it would be low risk, but let's assume I was doing this across WANs too.