Hi,
I using ssh-keygen for passwordless authenciation firstly
and I am following these steps mentioned below...
1) Login to pngpcdb1 using your user/pass
2) type 'bash' (without quotes)
3) ssh-keygen #generates private and public key.
4) copy this private key to the location of your sftp script
5) mkdir ~/.ssh
6) create a file named authorized_keys in ~/.ssh
7) chmod 600 ~/.ssh/authorized_keys
8) cat sftp_rsa.pub > ~/.ssh/authorized_keys
9) copy public key to ~/.ssh folder
firstly I login to remote machine thru putty with me credentials and then i enter in the remote server ...the issues is when I again reenter this machine with my credentials then I eneter ssh pngpcdb1 , it asks for password but it should not ask for password since now authentication
is key based..!!