Add ~/.ssh/config management

This adds the ability to manage the ~/.ssh/config file for users.
This commit is contained in:
Sander Klein
2015-05-15 21:47:40 +02:00
parent 3fc2a2bac9
commit 57c82f3324
2 changed files with 29 additions and 0 deletions
+11
View File
@@ -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: |