Windows Git Config
- eval $(ssh-agent -s)
- ssh-add ~/.ssh/sshkey
Add ssh key in one command
https://www.howtogeek.com/168147/add-public-ssh-key-to-remote-server-in-a-single-command/
- ssh-keygen -t rsa
- cat ~/.ssh/id_rsa.pub | ssh user@hostname ‘cat » .ssh/authorized_keys’ Change id_rsa as per your key , user, hostname and you are good to go. Need to restart ssh service though from server.