mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 16:35:33 +02:00
[GH-ISSUE #395] Take global ssh_config file into account and autocomplete host names #108
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pielonet on GitHub (May 12, 2023).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/395
Hi,
When creating a server for egress you presently do not specify a port, nor a user, nor any specific SSH options for this connection.
Dealing with specific hosts configurations is where ssh_config file is good at. It is aimed at it. It particularly allows to create aliases for hosts so that users do not have to remember servers FQDN to connect to.
Here is an example
ssh_configentry that we would like The Bastion to take into account 👍🏽Or even better with wildcards :
What more it would be useful to autocomplete host names (based on host aliases) like the
sshcommand usually does when trying to ssh to a server. This way users wouldn't have to remember specific domains. In case you address thousands of servers (like we do) it would just make it possible to use The Bastion.The fact that The Bastion presently does not take this sort of specific configuration files into account is what prevents us from implementing this solution.
This issue is more or less linked to this one #152 opened two years ago.
@maxatome commented on GitHub (May 25, 2023):
Hi, doesn't #384 fulfill your needs?
@pielonet commented on GitHub (Jun 5, 2023):
Hi,
Yes this contrib #384 fixed my issue. Thanks.
I wrote following configuration style:
It can be closed.
Kind regards,
Thierry