If you’re anything like me, you’re always looking for efficient ways to move files and objects between systems. Over the holidays, I needed a fast, reliable way to transfer files between two IBM i systems and a Linux system using SSH. Since scp is already part of the IBM i open-source SSH tooling, it felt like the perfect foundation for a simple utility command. That’s what led me to create the QSHSCP command and share it with others who utilize my QShell on i app.
QSHONI/QSHSCP CMDPFXPARM('-v')
KEYFILE('/home/user1/.ssh/id_rsa.ppk')
USER(user1)
HOST(myhost.com)
PORT(22)
ACTION(*SEND)
REPLLOCAL(*NO)
LOCALFILE('/home/user1/mylib.savf')
REMOTEFILE('/home/user1/mylib.savf')
DEBUGCMD(*NO)
DSPSTDOUT(*NO)
PRTSTDOUT(*NO) For more details on the FREE QSHSCP command, visit: the QSHSCP command URL
To learn more about MobiConnect and connecting all your systems and applications, visit: https://www.mobigogo.net
Email: info@mobigogo.net or richard@mobigogo.net