Connect through SSH

Topics: Developer Forum, User Forum
Dec 10, 2009 at 10:00 AM

Hello!

I have host and port (SSH 22) of application.

So, is it possible to connect application for screen scraping through SSH via Open3270?

-Pavel

Dec 10, 2009 at 8:43 PM

Off the top of my head, I am thinking you would need to establish your SSH connection first, then it should be no problem connecting to the mainframe.  Or, are you saying that you connect directly to the mainframe via port 22?  Open3270 is basically using Telnet across port 23 to access the mainframe. 

Dec 10, 2009 at 9:59 PM

Thank you.

Open3270 can connect via port 22, but display nothing :) So, I need to provide authentication data for SSH authentication before connection and I'm trying to understand how can I do so. 

1. Using another application for SSH connection with general question "how to integrate sessions?".  2. Implementing SSH in Open3270.

What do you think about this approaches?

Dec 18, 2009 at 3:57 PM

Why not lookup a free library for handling the ssh connection in your code?  It should be fairly simple and then you would be able to get access to the mainframe IP