Skip to content

Commit

Permalink
openssh: Tweak sshd_config to tackle for PAM taking care of authentic…
Browse files Browse the repository at this point in the history
…ation

We sort of disable clear text PasswordAuthentication
pam does not like it

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Mar 11, 2014
1 parent 9e23b89 commit 3b1a0a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes-tweaks/openssh/openssh_6.2p2.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
do_install_append () {
sed -i -e 's:^#PasswordAuthentication.*$:PasswordAuthentication no:g' ${D}${sysconfdir}/ssh/sshd_config
}

0 comments on commit 3b1a0a1

Please sign in to comment.