SSH asking for password even i have private key

V

venkata_666

Hi,


I am trying to establish connection to server windows machine using RSA key pairs. I have generated key pairs and and also copied my public key to users/myuser/.ssh/authorized_keys and also set the permissions by executing below command.

ssh --% user1@*** Email address is removed for privacy *** powershell -c $ConfirmPreference = 'None'; Repair-AuthorizedKeyPermission C:\Users\user1\.ssh\authorized_keys

When i am trying to connect to that server using ssh agent or by using putty its asking to type password and it is not doing any key based Authentication. I have tried different approaches but clue less. Can any one help me to tell what i am doing wrong here?


Thanks,

Venkata

Continue reading...
 
Back
Top Bottom