- Now we’ll create the appropriate SSH keys for your user account. Enter the following command
- You’ll be asked to create specific keys for your user account. SSH2 is more secure, so we recommend to answer as below.
Shall I create a SSH1 RSA identity file for you? – no
Shall I create a SSH2 RSA identity file for you? – yes
- Enter the passphrase and answer yes to question
Do you want to use this identity to login to this machine? (yes/no) - yes
- Next, you’ll be asked to create an SSH2 DSA ID file. You may answer that as no. Finally you will see a success message as below.
- That’s it! Configuration is done. If you want to test your configuration really quickly, enter the following command in your Cygwin window.
ssh –v localhost
If you find yourself stuck at any of the configuration steps, make sure that the Windows User Account you’re running has Administrative access. You may get weird errors if you try to run the host configuration as a normal user, so make sure you run Cygwin with admin privileges during that step.