You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Masha Buka (JIRA)" <ji...@apache.org> on 2019/02/09 01:57:00 UTC

[jira] [Closed] (SSHD-889) Logging sshd with Logback

     [ https://issues.apache.org/jira/browse/SSHD-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Masha Buka closed SSHD-889.
---------------------------
    Resolution: Works for Me

> Logging sshd with Logback
> -------------------------
>
>                 Key: SSHD-889
>                 URL: https://issues.apache.org/jira/browse/SSHD-889
>             Project: MINA SSHD
>          Issue Type: Question
>    Affects Versions: 1.7.0
>            Reporter: Masha Buka
>            Priority: Major
>              Labels: log, logback, logging
>
> 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.
> {code:java}
> ssh localhost -p XXXX -i ./sftp_test_key{code}
> 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!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)