IBM Support

How to write a automated script for SFTP (ssh)? (SCI62094)

Question & Answer


Question

How to write a automated script for SFTP (ssh)? (SCI62094)

Cause

Answer

A automated script can be created on UNIX  for ssh.
The script that will be kicked off will look something like this.
cat go
sftp -bsendssh -o port=10022 userssh@l1aix3

The sendssh file looks like this.
put testfile
bye



 

[{"Product":{"code":"SSFVK3","label":"IBM Sterling Connect:Enterprise for UNIX"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI28484

Product Synonym

[<p><b>]Fact[</b><p>];Connect:Enterprise UNIX;Release 2.2.00 [<br/>] SFTP (ssh) protocol [<br/>] ;SCI62094;[<p><b>]Goal[</b><p>];FAQ: How to write a automated script for SFTP (ssh)?

Document Information

Modified date:
17 December 2019

UID

swg21549866