martes, 14 de diciembre de 2010

SFTP as400

Hi,

Here's a great article by Scott Klement that should get you up and running

The SSH, SCP, and SFTP Tools from OpenSSH

Note: for automating with scripts

SFTP does not use OVRDBF for scripting. Instead, if you want to use SFTP with a script, you have to put the script in an IFS file and run it with the -b parameter to SFTP.

Regards,

Martin Gilbert.

-----------------------------
The problem is that I need a subscription to view that article. My company is on a budget and not new expenditures are allowed.

-----------------------------
Gilly,

Might as well put me on the list for sftp. csallee@lfucg.com

Chuck

==========================================================

Although it is common to think of "secure FTP" as being the same as "SFTP", they are very different. And both of those are very different from "sftp" which is what most comments in this thread are about. (The sftp discussion is probably appropriate. The question doesn't actually define what is needed.)

"Secure FTP" or FTPS (or FTP/S) refers to running FTP over the Transport Layer Security (TLS) and the Secure Sockets Layer (SSL) cryptographic protocols. Using the "FTP" acronym by itself means that the actual FTP is being run.

"SFTP" is actually Simple File Transfer Protocol, but that definition is fading due to the now widely used but incorrect interpretation as being "Secure File Transfer Protocol" or "SSH File Transfer Protocol". In this question, SFTP (Simple File Transfer Protocol) can be practically ignored.

"sftp" is SSH File Transfer Protocol, or Secure File Transfer Protocol, but not "Secure FTP" which explicitly uses the separate 'FTP' acronym. Using the 'FTP' acronym as a separate token implies the FTP protocol which has nothing to do with "sftp".

In short, when negotiating file transfers nowadays, you can start with an assumption that sftp will be used; but make sure that the other system is using the same definition.

Both sftp and "secure FTP" can be used under i5/OS. They are incompatible with each other and are entirely different protocols. "Secure FTP" uses FTP; sftp does not. They run over different ports. They use different scripts and have different prerequisites.

By recognizing and understanding that there are differences among all of these, it gets easier to sort out all of the various articles around the internet and the Info Center topics. It can seem that some of those contradict others when they may actually be describing different things. Always make sure that you know which topic is being discussed.

No hay comentarios:

Publicar un comentario