Quote:
Originally Posted by rex
Thank you all for the replies and I apologize for the late response. After it didn't worked for the first time I reverted back to the password authentication. Now today I followed the same article to configure the public key authentication and it worked. the only difference this time is that I sicked with the original ssh port I.E. 22, where as last time I was trying my ssh server was configured for different port.
Now is it necessary to use port 22 when I'm using public key as this is the only thing I've changed and it worked.
|
Nope, doesn't matter what port you use. That's not the issue here (not sure what is).
Quote:
Now that it is working next step is to use the private key that I've generated in osx with putty on Windows. Can it be done or I'll have to create new pair of keys for windows.
|
PuTTY doesn't use OpenSSH keys directly, it uses it's own PPK format. You have to run puttygen.exe and import the OpenSSH key. Then save the PPK key, and tell PuTTY to use that.