We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a8dd91 commit 849b329Copy full SHA for 849b329
0x0B-ssh/100-puppet_ssh_config.pp
@@ -1,17 +1,16 @@
1
# Client configuration file (w/ Puppet)
2
include stdlib
3
4
-file_line { 'Turn off passwd auth':
+file_line { 'Turn off passwd':
5
ensure => present,
6
- path => '/etc/ssh/sshd_config',
7
- line => 'PasswordAuthentication no',
+ path => '/etc/ssh/ssh_config',
+ line => ' PasswordAuthentication no',
8
replace => true,
9
}
10
11
-file_line { 'Declare identity file':
12
- path => '/home/your_username/.ssh/config', # Replace 'your_username' with your actual username
13
- line => 'IdentityFile ~/.ssh/school',
+file_line { 'identity change':
14
+ line => ' IdentityFile ~/.ssh/school',
15
16
17
-
0 commit comments