I would like to set up SFTP for our internal iSeries servers. I have 24 iSeries servers and would like to SFTP between them all. Does anyone have a good resource for helping me to accomplish this?
That said, ftps is relatively secure. It doesn't offer some of the features that sftp does, like public key authentication, easy basic automation using scp, complex scripting with Expect, ssh benefits, but it does get you a secure method of transferring files in an encrypted fashion, and retains the benefits of ftp, including remote command execution, FTP exit point processing, and compatibility with existing automated processes that you have that use FTP.
If you want to use sftp with public key authentication, here's a good article that explains the setup needed
One problem is that it is tricky to use interactive password authentication in a 5250 session. I usually connect with ssh rather than green-screen when I need to use sftp with password authentication..
- Gary
Matthew Roessner
ASKER
I attempt to set up SFTP with the instructions you sent Gary (I had previously found this article as well). I create a RSA key and FTP both the public and private key to the remote iSeries I am trying to connect to.
If, from within CALL QP2TERM, I attempt to connect via SFTP: sftp serveruid@somehost
I get the following errors: Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
Connection closed
FTP RMTSYS(ftp.MyServer.com) SECCNN(*SSL) DTAPROT(*PRIVATE)
HTH,
DaveSlash