Re: scp: a way to disable password authentication?

2004-01-23 Thread Vincent Lefevre
On 2004-01-22 21:50:24 -0500, Roberto Sanchez wrote: Copy the contents of ~/.ssh/id_dsa.pub on the sending computer to ~/.ssh/authorized_keys on the receiving computer. It seems that you haven't understood my problem. ~/.ssh/authorized_keys already contains the key, but due to a NFS problem (I

Re: scp: a way to disable password authentication?

2004-01-23 Thread Pigeon
On Fri, Jan 23, 2004 at 02:03:52AM +0100, Vincent Lefevre wrote: 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. IIUC you need to set

Re: scp: a way to disable password authentication?

2004-01-23 Thread Bijan Soleymani
On Fri, Jan 23, 2004 at 02:03:52AM +0100, Vincent Lefevre wrote: 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

Re: scp: a way to disable password authentication?

2004-01-23 Thread Vincent Lefevre
On 2004-01-23 20:00:54 +, Pigeon wrote: IIUC you need to set PasswordAuthentication no in /etc/ssh/ssh_config on the client. Thanks, this is the best one. It seems that I initially forgot to grep the ssh_config man page. -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ -

scp: a way to disable password authentication?

2004-01-22 Thread Vincent Lefevre
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

Re: scp: a way to disable password authentication?

2004-01-22 Thread Roberto Sanchez
Vincent Lefevre wrote: 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