How to ignore hostname in SSH tunnel

Here's a simple question for any ssh / ssl expert. In our corporate office, we have a JMS application (Tibco EMS) running on a server behind a firewall that blocks most of the ports.

I can ssh to this server, but I cannot send messages to the JMS application because the port is not open. So using putty I created an ssh tunnel for the server so that instead of sending messages to ssl: // theserver: 1234, I would send messages to ssl: // localhost: 1234.

Strangely I can log into the admin console using the url ssl: // localhost: 1234. But when I try to post messages to ssl: // localhost: 1234 I get errors stating that it cannot connect to ssl: / / theserver: 1234. I'm not sure how he got the name "theserver" hostname, I guess the hostname is in the ssh certificate file (?) and he grabbed it from there.

But anyway, does anyone know the solution to this. How can I connect to the server and tell the client to ignore the hostname in the certificate file and just use localhost.

And I know the easy answer is to open the port, but there are typical corporate IT security issues that they won't allow.

+1


a source to share


1 answer


I'm pretty sure the name is not derived from the certificate. As far as I understand Tibco, you must have a daemon process rvd

or rvrd

(or some agent process) somewhere - either on the server, or on the client, and on the server. Look for config files for them. The name most likely comes from one of these files.



+1


a source







All Articles