Working with SSH Key Pairs
This is to set up the key once, and then don't need to enter the passphrase every single time:
Use an ssh-agent in WSL with your ssh setup from windows 10 | by Philipp Scheit | Medium
Create new key pair
Use the ssh-keygen command to generate a public and private authentication key pair. Authentication keys enable you to connect to a remote system without needing to supply a password each time that you connect.
To create a public and private SSH2 RSA key pair. To create an SSH key pair by using an algorithm other than the default RSA algorithm, use the -t option. Possible values that you can specify include the following: dsa, ecdsa, ed25519, and rsa. In this case, I use ed25519 algorithm.