login about faq

Hi,

We have a simple batch script that resides in the Windows 2003 server D drive ( system drive and not shared ). The batch file SFTP few small text files to an Unix server. The batch file is scheduled using the Maestro and provided a non admin system account ( not domain account) to execute the batch file. Everything works pretty well when the user (cgsbatch) is logged into the server. The Maestro kicks off the batch file every 5 mins and the files are getting transferred. The Moment the user logs off from the server, the maestro kicks off the batch and it is failing with the reason Key exchange failed error. We have the public key and all file available for the user.

The script uses SFTPG3 -B <ftpascii(contains list="" of="" ftp="" cpmmands)="">

Can you please provide more insight on what needs to be done for this issue? Thanks

asked Jan 25 '12 at 19:06

Prasanna's gravatar image

Prasanna
1333


Try adding the command ssh-broker-g3 before your SFTP command.

This will start the connection broker, that is normally already started when a user is logged in.

So like....

ssh-broker-g3 SFTPG3 -B <ftpascii(contains list="" of="" ftp="" cpmmands)="">

link

answered Mar 22 '12 at 23:19

Joe%20-%20Tectia%20Support's gravatar image

Joe - Tectia Support ♦♦
55215

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×45
×12

Asked: Jan 25 '12 at 19:06

Seen: 4,295 times

Last updated: Mar 22 '12 at 23:19

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.