Dear all,
I have some files to move to an SFTP server that someone else is providing on the public internet. The source for the file is on AIX, and although I have the sftp client installed, I'm stuck. The process would be automated (probably ksh script or perhaps as a C executable) so there would not be an option for interactive input.
There is no direct route to the internet for the AIX server, but firewall rules have apparently been altered so that it can talk to the pair of MS ISA servers
that we use for desktop PC access to the internet. There are two so that a desktop makes the request to proxy A and if authenticated this is passed on to proxy B which is public facing. Proxy B will only accept traffic from proxy A.
My problem is how I would craft an SFTP request to open a connection directed via proxy A & how I would authenticate. The desktop PCs has client software installed to handle that function.
By the way, I don't have a choice on having to use an MS ISA server. That's what we have. Full stop.
I have looked at curl (see curl 'dot' haxx 'dot' se) but haven't yet spotted how this can be acheived.
An option would be to PGP encrypt the files and try plain FTP, but I would need the provider to agree and I would still need to use the proxy.
I've only been doing this job 15 years, but I have to admit I am stumped.
Thanks, in advance,
Robin