mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[PR #180] [MERGED] accountModify - Add a new accept-new POLICY in egress-strict-host-key-checking parameter #295
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#295
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/180
Author: @jonathanmarsaud
Created: 5/14/2021
Status: ✅ Merged
Merged: 5/19/2021
Merged by: @speed47
Base:
master← Head:shkc_accept-new📝 Commits (1)
b5b8b04accountModify - Add a newaccept-newPOLICY in egress-strict-host-key-checking parameter📊 Changes
5 files changed (+20 additions, -12 deletions)
View changed files
📝
bin/helper/osh-accountModify(+1 -1)📝
bin/plugin/restricted/accountModify(+3 -3)📝
bin/plugin/restricted/accountModify.json(+7 -7)📝
doc/sphinx/plugins/restricted/accountModify.rst(+1 -1)📝
tests/functional/tests.d/330-selfkeys.sh(+8 -0)📄 Description
Hi,
Currently, the parameter
--egress-strict-host-key-checkingofaccountModifyplugin only supportsyes,no,ask,default,bypassand then referencesman ssh_configfor additional informations.One of the keyword is missing, it is called
accept-newand is very convenient in our usage with The Bastion and CI/CD. It permits to auto accept new HostKeys but blocks in case of the already auto accepted HostKey is changed, to avoid MitM.It something between
yesandno.I tested this code in our The Bastion test cluster which is running
v3.03.01.Regards,
DCO: Signed-off-by: Jonathan Marsaud jonathan.marsaud@iguanesolutions.com
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.