开发者

Scheduled sftp job fails

I have Cygwin+OpenSSH installed on Windows XP wor开发者_如何学运维kstation.

Simple SFTP process (batch file) runs fine when launched from the Command Prompt and fails when launched by a Scheduler from Novell Desktop Management. Scheduled job uses exactly the same batch file and runs as Interactive User impersonation.

WhoAmI embedded in the batch file returns the same user string. Cygwin itself called from a scheduled job shows the same user id in the prompt as when launched directly from the dektop icon.

I get the following error from a scheduled sftp job:

"Permission denied (publickey,keyboard-interactive).  
 Connection closed"


The problem was with file permissions on the id_dsa file.

Apparently though both manual and scheduled processes ran with the same user id, they used different authentication: domain vs. workstation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜