mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[PR #228] [CLOSED] Feat: Add SSHFP support for egress connections #326
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#326
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?
📋 Pull Request Information
Original PR: https://github.com/ovh/the-bastion/pull/228
Author: @coimbrap
Created: 8/16/2021
Status: ❌ Closed
Base:
master← Head:feat/sshfp_for_egress📝 Commits (2)
9a66f48feat: use hostname instead of ip for ssh in osh8f75b00feat: use hostname instead of ip for scp in plugin scp📊 Changes
2 files changed (+5 additions, -3 deletions)
View changed files
📝
bin/plugin/open/scp(+3 -1)📝
bin/shell/osh.pl(+2 -2)📄 Description
Allow SSHFP fields to be used for connections between The Bastion and backends.
For SSH we just replace
$ipby$hosttoand for SCP we useip2hostwith$ipto obtain hostname.When the host cannot be resolved or no SSHFP fields available (dns unreachable or no SSHFP / PTR entry):, classical TOFU is used
ip2hostcall :🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.