Fix the sshd config to for inbound ansible
The ssh keys were changed to not tie to a forced-command, but the sshd config was missed. Change-Id: I889f7983d0e7d0e1b48d825c7d63cf678782d169
This commit is contained in:
parent
034f37c32a
commit
c21ec94066
@ -23,7 +23,7 @@ LogLevel INFO
|
||||
|
||||
# Authentication:
|
||||
LoginGraceTime 120
|
||||
PermitRootLogin forced-commands-only
|
||||
PermitRootLogin no
|
||||
StrictModes yes
|
||||
|
||||
RSAAuthentication yes
|
||||
@ -84,3 +84,10 @@ Subsystem sftp <%= scope.lookupvar('::ssh::params::sftp_path') %>
|
||||
# PAM authentication, then enable this but set PasswordAuthentication
|
||||
# and ChallengeResponseAuthentication to 'no'.
|
||||
UsePAM yes
|
||||
|
||||
# allow ansible connections from puppetmaster host
|
||||
Match host ci-puppetmaster.openstack.org
|
||||
PermitRootLogin without-password
|
||||
|
||||
Match host puppetmaster.openstack.org
|
||||
PermitRootLogin without-password
|
||||
|
Loading…
Reference in New Issue
Block a user