Problem with scheduled Cygwin+ssh sftp
Windows XP PRO workstation
I have a batch file with that includes the following:
sftp -b <script> ...
When I start batch file manually = everything is OK. When the same batch file is launched from a Scheduler (Novell Desktop Management) I get the following error:
Permission denied (publickey,keyboard-interactive).
The scheduled job runs as Interactive User impersonation.
I added WhoAmI to the batch file and both manual and scheduled outputs showed the same user.
For testing purposes I created another scheduled job that just call cygwin and it shows correct user in the window prompt.
Any suggestions for further troubleshooting?