Show localhost based SSH URLs
If the SSH daemon only accepts connections over localhost,
its probably because its a testing installation for a developer.
We still should make its SSH host keys and download URLs available
in the UI to help the developer interact with their test instance.
Previously I had hidden the localhost URLs because... I had no
good reason. I'm pretty certain we used to expose addresses on
the loopback, but then hid them because we wanted to prioritize a
public URL first in the advertisements. Instead in this patch we
still allow loopback URLs, but only if no public ones are found.
Change-Id: I0ca20356b2d3a6eeed2fb4398e0429e489e26f18
Signed-off-by: Shawn O. Pearce <sop@google.com>
1 file changed