0 vote
SSH Gateways can only be added by hand (manual hostname).
Would be good if they could be picked from the vault.
Hi,
In this context, SSH Gateways is a setting of the SSH Shell entry. What would you like it to link to in the Vault? Other SSH entries? A SSH Gateway entry (it does not exist, but we have a RDP Gateway for RDP)?
Best regards,
Xavier Fortin
Yes, would like to link to other ssh entries.
Same for all other ssh entry types that have a ssh gateway/jumphost
Hi,
How do you want this to work exactly? At the moment, if you configure multiple gateways in that screen, the SSH session will "chain" through all of the configured gateways. Do you just want us to fetch the linked SSH entries settings from session, but otherwise, work exactly like it is now. This would be relatively easy to implement.
Or, do you expect us to "chain" through the SSH gateways of the SSH entry configured as a gateway? e.g. SSH1 as one gateway configured, SSH2, and SSH2 as one gateway configured, SS3. The session would then go SSH1 -> SSH2 -> SSH3. This would be a lot more tricky and wouldn't really fit in the current workflow.
Best regards,
Xavier Fortin
Ideally it would use a dynamic lookup for the chaining method.
Workable would be something like:
Eg:
(in case of auto recalculate, the ok/save button can trigger that as well)
In my case, I have several entries using the same chains, so only having to link to the last host of the chain is a big +++
Hmmm... In that case, wouldn't just adding a button "Fill with entry" and just fill the Gateway list that actually exists works? We would lose the references to the entry (so if any entry in the chain changes in the future, the change would need to be reapplied).
So:
1) SSH4 contains no gateway.
2) In SSH3, we click "Fill with entry" and chose SSH4. The host/port/credentials/key of SSH4 is now configured in the gateways of SSH3.
3) In SSH2, we click "Fill with entry" and chose SSH3. The host/port/credentials/key of SSH3 AND SSH4 (from the SSH3 gateway list) are filled in the gateways of SSH2.
4) In SSH1, we click "Fill with entry" and chose SSH2. The host/port/credentials/key of SSH2, SSH3 and SSH4 are filled in the gateways of SSH1
Of course, if no references are preserved, any change to SSH4, SSH3 or SSH2 will require a regenerate in SSH1 (same for SSH2 and SSH3 with their own gateways).
If we are to go into saving references of the entries, a recursive lookout become necessary, and then, might as well do this lookout on launch instead of a recalculate button.
Best regards,
Xavier Fortin