Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Kryst

hi

Hi Martin

Thanks for your reply
I will test and let you know.
Thanks
Kryst
Kryst

Private key in the automation script

Hello everyone
I need to prepare an automation script which will be sending files between 2 servers.
2nd server has username and public key set up. How to preapare a proper script with a private key ?

This is working fine when only used username and password
option batch abort
option confirm off
open sftp://USERNAME:PASSWORD@REMOTE IP ADDRESS
synchronize remote E:\data\remote\live\outgoing /toINC
exit


How it will be looking with PRIVATE KEY ?
Details:
USERNAME
REMOTE IP
PRIVATE KEY
SFTP/22

Can you help ?
Thanks
Kryst