SCP suddenly prompting for password
I have a task running in launchd that transfers files to remote machines via scp and lately it's been failing. When I run the scp command on the command line, it prompts for a password. I have the rsa files set up on the local and remote machines and have been doing this kind of password-less login and file transfer successfully for a very long time. This just started happening. Does anyone know if any recent updates broke this? If so, what specifically is going on?
Here's what the failing scp command looks like:
scp /Volumes/data/secure1/public_html/forms/classifieds/sunlist.js loginname@secure1.domainname.com:public_html/forms/classifieds/
Every time the script tries to run in launchd, this shows up in the system log:
*Notice ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice Permission denied, please try again. 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice Permission denied, please try again. 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice Permission denied (publickey,gssapi-with-mic,password). 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice lost connection 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
Message was edited by: Rick Anderson (posted too much stuff from the log, removed some for clarity.)
Here's what the failing scp command looks like:
scp /Volumes/data/secure1/public_html/forms/classifieds/sunlist.js loginname@secure1.domainname.com:public_html/forms/classifieds/
Every time the script tries to run in launchd, this shows up in the system log:
*Notice ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice Permission denied, please try again. 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice Permission denied, please try again. 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice Permission denied (publickey,gssapi-with-mic,password). 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
*Notice lost connection 3/31/09 Tue, Mar 31, 2009 12:11:01 PM*
Message was edited by: Rick Anderson (posted too much stuff from the log, removed some for clarity.)
Mac OS X (10.5.6)