I would like to know how I can disable password authentication for scp (on the client side), i.e. I want to connect by RSA authentication only, and if this is not possible, I want scp to fail.
The reason is that scp is called from a perl script, and if a password is required[*], the script hangs until a password is given.
[*] This should never happen, but in the reality, the ssh server isn't reliable (probably a NFS problem, which means that the RSA public key can't be read).
Thanks in advance for any information,
Copy the contents of ~/.ssh/id_dsa.pub on the sending computer to ~/.ssh/authorized_keys on the receiving computer.
-Roberto
signature.asc
Description: OpenPGP digital signature