visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
432 stars 111 forks source link

Selecting gateway option in host profile should prevent attempts to validate destination host #19426

Open markcmiller86 opened 6 months ago

markcmiller86 commented 6 months ago

Describe the bug

The remote host names people want to put into their VisIt host profiles can often be derived from their ~/.ssh/config file. If I have something setup such that ssh my-fav-anl-machine at a shell prompt works. They want to put my-fav-anl-machine as the remote host to connect to in VisIt.

This seems perfectly reasonable to me.

In networks where compute nodes are behind firewalls, the real machine VisIt is connecting to is not know to the local host. We use a gateway or ssh tunenling or control master to connect to it.

But, VisIt will immdiately return "Invalid host" message for that hostname and not ever attempt the connection.

This is happening on ANL systems which have quite a substantial set of constraints on various intermediate nodes before one can log into a compute node.

https://help.cels.anl.gov/docs/linux/ssh/

Finally, are we in all circumstances using a user's "ssh env." to connect to hosts the user would otherwise normally and easily connect with via ssh?

markcmiller86 commented 6 months ago

@vijaysm and @iulian787

cyrush commented 4 months ago

We will need to find out why the gui is asking, does it need that info for an immediate operation, or for something down the line?