Passwordless SSH not working with PKIX-SSH
I have followed http://tech.ciges.net/blog/openssh-with-x509-certificates-how-to/ to use X509 certs for SSH and used Roumenpetrov's PKIX-SSH builds.
For installation followed https://github.com/Ciges/pkixssh-12.3/blob/master/INSTALL with default options : ./configure make make install
Now server has two sshd_config files : 1. Default sshd config file - /etc/ssh/sshd_config
2. New sshd config file created by installing PKIX-SSH build - /usr/local/etc/sshd_config
Now when i do ssh , looks like its still using default sshd config file and hence passwordless ssh is not working. Error message from /var/log/secure is "pkix-ssh-tgt sshd[89593]: userauth_pubkey: unsupported public key algorithm: x509v3-rsa2048-sha256 [preauth]"
How should i tell sshd to use new config file /usr/local/etc/sshd_config
Any help here is appreciated. Thanks in Advance