Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-889

Logging sshd with Logback

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Works for Me
    • 1.7.0
    • None

    Description

      Hi!

      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.

      ssh localhost -p XXXX -i ./sftp_test_key

      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!

      Attachments

        Activity

          People

            Unassigned Unassigned
            mahsa81 mahsa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: