0

Can I generate one SSH key and then use this key to SSH server from any operating system like mac, windows, sunsolaris or linux command shell?

UPDATE:

  1. I have a dedicated server and I may access it as a root from different Operating Systems
  2. The server is not shared to any user. Will it be better to generate SSH key on server or client machines?

Thanks

1 Answers1

0

you have access to the server? so just create your keys on each client and manually add the PUBLIC key from each to ~/.ssh/authorized_keys on the host you wish to access.

to generate keys: Linux:

ssh-keygen 

Windows: not sure if there is a better way, but I d/l putty tool and use

puttygen

Mac:

ssh-keygen

==== with linux you can copy your keys to the server using

ssh-copy-id root@<server_ip>

not sure how to do that under windows just ( should be a very quick google/SO search ) which is why I suggested adding your keys manually.

Hope it helps you.