Generate new SSH Key
$ ssh-keygen -t rsa -b 4096 -C "name@email.com" ~/.ssh/id_rsa ~/.ssh/id-rsa.pub # (optional passphrase and name)
Add new key to ssh-agent
$ eval $(ssh-agent -s) ($ eval `ssh-agent -s`) Agent pid 12345 $ ssh-add ~/.ssh/id_rsa
For Windows, open PowerShell as Administrator
Add-WindowsCapability -Online -Name OpenSSH.Client*
OR
- Open Manage Optional Features
- Add a Feature
- Search for OpenSSH... read more