Re: Issue with private keys

2022-01-28 Thread Thomas Wolf
Hi, On 27.01.22 21:44 , José Danilo Ross Lépiz wrote: Currently I'm working on migrating an application using JGit to use SSHD but I have not been able to get private key login working. Could I be missing any configuration? This is the stacktrace I get: Caused by:

Re: Restarting ssh server inside single jvm

2023-08-23 Thread Thomas Wolf
On 16.08.23 11:51 , Slawomir Skalka wrote: Given: jdk 19.0.2.7 (Temurin) sshd-core 2.10.0 sshd-common 2.10.0 slf4j-api 1.7.36 And: Windows. attached code causes circa 50 exceptions: Exception in thread "Thread-3" Exception in thread "Thread-2" java.lang.IllegalStateException: Executor has

Re: Help understand SSHD server exception "bad length"

2023-08-18 Thread Thomas Wolf
On 07.10.22 17:31 , Stefan Müller wrote: The SSHD server shows following error while receiving an file: [NioProcessor-18] [WARN ] exceptionCaught(ServerSessionImpl[])[state=Opened] IllegalStateException: Bad length (32796) for cmd=SSH_MSG_CHANNEL_DATA - max. allowed=32768 My first thought

Re: Restarting ssh server inside single jvm

2023-08-27 Thread Thomas Wolf
On 24.08.23 00:41 , Thomas Wolf wrote: On 16.08.23 11:51 , Slawomir Skalka wrote: Given: jdk 19.0.2.7 (Temurin) sshd-core 2.10.0 sshd-common 2.10.0 slf4j-api 1.7.36 And: Windows. attached code causes circa 50 exceptions: [...] This problem appears to be specific to Windows. I cannot

Time for a release of Apache MINA sshd 2.9.0?

2022-06-07 Thread Thomas Wolf
Hi, how about cutting a 2.9.0 release of Apache MINA sshd? 2.8.0 was in December 2021. I think we've got enough to warrant a new release: * Major refactoring of KEX * Major refactoring of TCP/IP port forwarding * Major refactoring of global requests * New feature: OpenSSH host-based publickey

Re: Time for a release of Apache MINA sshd 2.9.0?

2022-06-15 Thread Thomas Wolf
On 07.06.22 19:17 , Lyor Goldstein wrote: >> how about cutting a 2.9.0 release of Apache MINA sshd? 2.8.0 was in December 2021. I think we've got enough to warrant a new release +1 - totally agree One week later: since a major change in 2.9.0 would be the refactored TCP/IP port forwarding,

Re: Time for a release of Apache MINA sshd 2.9.0?

2022-06-18 Thread Thomas Wolf
From my side everything is in. Guillaume, could you please prepare a 2.9.0 release? Cheers, Thomas - To unsubscribe, e-mail: users-unsubscr...@mina.apache.org For additional commands, e-mail: users-h...@mina.apache.org

Apache MINA: how to half-close an NioSocketSession?

2022-06-16 Thread Thomas Wolf
Hi, in Apache MINA sshd I recently[1] ran into the problem of how to shut down output on a socket using MINA 2.0.23. Apache MINA sshd had some code that used reflection to get at the SocketChannel of an NioSocketSession, and then invoked channel.shutdownOutput() on that directly. That kind of

Re: Help understand SSHD server exception "bad length"

2022-10-07 Thread Thomas Wolf
On 07.10.22 17:31 , Stefan Müller wrote: The SSHD server shows following error while receiving an file: [NioProcessor-18] [WARN ] exceptionCaught(ServerSessionImpl[])[state=Opened] IllegalStateException: Bad length (32796) for cmd=SSH_MSG_CHANNEL_DATA - max. allowed=32768 My first thought

[ANNOUNCE] Apache MINA SSHD release 2.9.2

2022-11-15 Thread Thomas Wolf
/downloads.html and is also available via Maven Central. Thanks for all the contributions and the feedback that made this release possible! For the Apache MINA project, Thomas Wolf - To unsubscribe, e-mail: users-unsubscr

Fwd: CVE-2022-45047: Apache MINA SSHD: Java unsafe deserialization vulnerability

2022-11-15 Thread Thomas Wolf
The new Apache MINA SSHD 2.9.2 release also fixes CVE-2022-45047. Forwarded Message Subject: CVE-2022-45047: Apache MINA SSHD: Java unsafe deserialization vulnerability Date: Tue, 15 Nov 2022 23:08:17 + From: Thomas Wolf Reply-To: d...@mina.apache.org To: annou