visit icon indicating copy to clipboard operation
visit copied to clipboard

Distinguish hosts by hostname and then nickname

Open markcmiller86 opened this issue 5 years ago • 5 comments

User reports...I have set up several host profiles as below. They all have same “remote host name" but connect to different machines via different ports

host nickname: euler remot host name: abc.com ssh command: ssh -p 2261

host nickname: newton remot host name: abc.com ssh command: ssh -p 2262

If I open “euler” in file open dialog, it connects to “euler”.

But, if I open “newton” in file open dialog, it still connects to “euler”.

If I delete the “euler” host profile, then I can connect to “newton”.

Since “euler” appears alphabetically before “newton”, visit seems to always connect to it since it has the same remote hsotname.

markcmiller86 avatar Feb 21 '20 04:02 markcmiller86

I have seen this --- and it is a source of confusion.

cyrush avatar Feb 21 '20 18:02 cyrush

Related to: #1090

griffin28 avatar Mar 30 '20 23:03 griffin28

This came up in #17854 so I think we should discuss again.

markcmiller86 avatar Jul 08 '22 16:07 markcmiller86

We should match on both the hostname and the nickname.

brugger1 avatar Jul 14 '22 16:07 brugger1

Hope I'm not barging in here, but I wanted to mention that this came up to bite me again. We have two builds of VisIt 3.1.3, one with hardware acceleration and one without. Since they both have the same host, this obviously conflicted.

For a user perspective: I was assuming that unique host profile XML file names implied unique hosts (regardless of nickname). Not sure if that matches others' expectations, but thought I'd share my own. I imagine matching hostname and nickname would mostly be fine, that doesn't catch bad copy/paste jobs on the user/admin side.

reidginoza avatar Jul 18 '22 22:07 reidginoza