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

Logging sshd with Logback

    XMLWordPrintableJSON

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major
    • Resolution: Works for Me
    • Affects Version/s: 1.7.0
    • Fix Version/s: None
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: