I have 2 systems A and B
I need to do a passwd less authentication inorder to send a file from system B to system A automatically(using sftp)
for this i did the following
I generated ssh-keygen -t dsa on system B, copied this key(id_dsa.pub) into the authorized_keys file on system A (basically, I appended the key in the authorized_keys file of system A)
I tried to logon to system B and then do a sftp to system A it still prompts me for a password.