mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-10 00:09:09 +02:00
[GH-ISSUE #384] Connect through Bastion using SSH config file #103
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#103
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 @gotakasan on GitHub (Mar 29, 2023).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/384
Hello !
Did you managed to use SSH config file to connect on remote server through Bastion ?
I tried to use ProxyCommand (before seeing on FAQ that I can't :/) but impossible.
Thanks for your help !
@speed47 commented on GitHub (Mar 31, 2023):
Hello,
Do you mean that, if for example your alias to connect through your bastion is
bssh, you would like to be able to type something likebssh myserver, were information aboutmyserverwould be given in your~/.ssh/configfile?@gotakasan commented on GitHub (Apr 3, 2023):
In fact, I wanted to connect with
sshcommand (and have word completion for servers given in my~/.ssh/configfile) through my Bastion.I want to deploy the solution on my infrastructure and I want it to be the more transparent possible for users.
@gotakasan commented on GitHub (Apr 6, 2023):
I manage to do it :
So I just have to enter
ssh SERVERand it will connect throught my bastion.PS : The first block is not really used in second one. It just to connect to my bastion with
ssh BASTION_NAMEor to reuse it inHostname BASTION_NAME@speed47 commented on GitHub (Apr 18, 2023):
I think I'll add this to the FAQ, thanks.