Skip to main content
I

f you want to use ssh keys from your windows machine to push/pull your git repo to a remote server ( mostly Ubuntu server), follow these steps.

This technique involves generating ssh (public, private) keys and then using public key on the remote server (of course) and private key for your local computer in the config of git.

Generating ssh keys

SSH to Server using ssh keys

Adding ssh keys to the config file of Git

Test if Git works with ssh keys