I am having some issues with opensshd ive recompiled with 5.6p1 on centos so that it supports Match Blocks.
I would like it so that only certain users can use passwords and others only keys mind you this is all ldap authentication
here is my config:
Code:
UsePAM no
PasswordAuthentication no
PermitRootLogin no
Match Group thesshgroup
X11Forwarding no
AllowTCPForwarding yes
PasswordAuthentication yes
But when I go to login it fails like it is having issues looking up the user name in ldap I have enabled UsePam and was successful with a local user but I would like to use ldap.
Any ideas?