I am trying to get passwordless SSH authentication to work from a Windows 7 machine to local server.
Windows machine: My login name in this machine is
MY_LOGIN_NAME
. I am using Cygwin as the command line.CentOS 5.5 Server: I have admin privileges on this server; logged in as
root
.
Here is what I have done so far:
Logged into
MY_LOGIN_NAME
on the Windows machine, Issh-config-user
ed from the Cygwin command line. This created (at least) RSA public and private keys inC:/Users/MY_LOGIN_NAME/.ssh
I copied the public key over to the server to the
.ssh
directory usingscp
.scp id-rsa.pub [email protected]:.ssh/id-rsa.pub
Then I tried to log into the server using
ssh
like so:ssh -i id_rsa [email protected]
But it still asks me for my password. What am I missing?