I have been asked to generate a pair of SSH keys so that I can access a remote server for development. To generate the keys, I used the ssh-keygen
tool on our CentOS box, which I successfully did.
Now I have 2 files: ~/.ssh/id_dsa
, ~/.ssh/id_dsa.pub
. I will give the admin the .pub
file so that he can place it on the remote server. However, I want to use my own personal windows PC (using PuTTY) to access this remote server.
So my question is this: even though I generated the SSH keys on a Linux server (that has no relation whatsoever to the remote server and my pc), can I still access the remote server with my Windows PC using the private key that was created?
The reason I'm a little unsure is because while I was creating the keys, it said "The key fingerprint is: xxxxxxxx" which made me think that since the "fingerprint" is CentOS's fingerprint, it won't let me use the private key on my Windows machine. Am I right that it won't work, or as long as I have the private key it doesn't matter what machine I use to log in to the remote server?