I am working on creating an sftp server using Apache Mina SSHD. I have automatically generated DSA client keys using java.security API (sftp_test_key). I also have an assigned port on localhost to run sftp server. I am getting Permission denied (publickey). error when I ssh to that port.
When I check my application logs, I can see the sftp successfully started on the correct port, but I do not see any authentication log statements to help me troubleshoot the issue. I am using logback in my application. How can I configure correct logger to get authentication details from sshd?
Excuse me if some part of my question is not clear, I am coding newbie. Any help appreciated! Thanks in advance!