mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-09-22 05:19:28 +02:00
Add ~/.ssh/config management
This adds the ability to manage the ~/.ssh/config file for users.
This commit is contained in:
@@ -44,6 +44,17 @@ users:
|
||||
# than inline in pillar, this works.
|
||||
ssh_auth_sources:
|
||||
- salt://keys/buser.id_rsa.pub
|
||||
# Manage the ~/.ssh/config file
|
||||
ssh_config:
|
||||
all:
|
||||
hostname: "*"
|
||||
options:
|
||||
- "StrictHostKeyChecking no"
|
||||
- "UserKnownHostsFile=/dev/null"
|
||||
importanthost:
|
||||
hostname: "needcheck.example.com"
|
||||
options:
|
||||
- "StrictHostKeyChecking yes"
|
||||
|
||||
google_auth:
|
||||
ssh: |
|
||||
|
||||
Reference in New Issue
Block a user