Results 1 to 3 of 3
I need to set up an ftp connection from a Redhat server to our Mainframe. We are using ftp today but we are no longer allowing ftp on internal transfers ...
- 05-11-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 2
Using lftp on Redhat to Mainframe
I need to set up an ftp connection from a Redhat server to our Mainframe. We are using ftp today but we are no longer allowing ftp on internal transfers and need to set up an TLS/SSL connection. Can someone point in the right direction on how to either configure LFTP(compiling, options, etc...) to do this or is there another tool that would be better to use (stunnel, vsftp, etc...)
- 05-11-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
I do use stunnel, but not with ftp, so I would have to experiment some to verify its operation, but you should find it too difficult to do, I would hope. Sorry about having to put the stuff above inside a CODE block, but otherwise some of the examples got replaced with smileys!Code:You should be able to use stunnel to set up a ssl link to the mainframe. You shouldn't need to change your client ftp program, though you will want to use a private port on your local host for the connection, since the way that stunnel works is for your client to connect to localhost:port#. In the stunnel configuration file you put in /etc/stunnel, call it /etc/stunnel/mainframe.conf, you will specify the mainframe system address:port# used by its ftp server. So, you should be able to use "lftp localhost:port#", or "lftp -p port# localhost", or one of those constructs with the ftp OPEN command.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-11-2009 #3Just Joined!
- Join Date
- May 2009
- Posts
- 2
i guess stunnel will not work with ftp
From all the reading I have done on Stunnel, everyone suggests not to use it with FTP. Even stunnel.org recommends against it. I uess I will continue looking for other means. Thanks


Reply With Quote