issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
262k
⌀
issue_title
stringlengths
1
1.02k
issue_comments_url
stringlengths
53
116
issue_comments_count
int64
0
2.49k
issue_created_at
stringdate
1999-03-17 02:06:42
2025-06-23 11:41:49
issue_updated_at
stringdate
2000-02-10 06:43:57
2025-06-23 11:43:00
issue_html_url
stringlengths
34
97
issue_github_id
int64
132
3.17B
issue_number
int64
1
215k
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description When utilizing the remote port forwarding functionality, I've noticed that TCP connections are not being properly closed between the SSH client process and the local port on the SSH client side.The issue occurs intermittently when the machine's resources are under significant ...
TCP connection leakage issue when using the remote port forwarding feature
https://api.github.com/repos/apache/mina-sshd/issues/663/comments
4
2025-02-14T06:47:11Z
2025-03-01T19:53:07Z
https://github.com/apache/mina-sshd/issues/663
2,852,821,336
663
[ "apache", "mina-sshd" ]
Hi, I'm exploring using mina-sshd for an upcoming project. My use case is I need to download files from a 3rd party sFTP server, process them, and delete the file from the 3rd party. This project (with Spring Integration) seems to be a pretty good fit, however I am struggling to understand exactly how it works in th...
Question: How does mina-sshd track files, what happens if the process isn't running, and distributed systems
https://api.github.com/repos/apache/mina-sshd/issues/662/comments
2
2025-02-12T15:31:50Z
2025-02-13T07:24:47Z
https://github.com/apache/mina-sshd/issues/662
2,848,608,783
662
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description The apache mina sshClient is unable to find the sftp server running on WSL on the same machine using the hostname "localhost" and "127.0.0.1". I was able to connect to the server using : OpenSSH_for_Windows_9.5p1 a.ka the sftp command in cmd/powershell winscp version 6.3.6 Pa...
Unable to connect to sftp server running on WSL using hostname localhost
https://api.github.com/repos/apache/mina-sshd/issues/661/comments
2
2025-02-05T03:34:41Z
2025-04-26T08:54:56Z
https://github.com/apache/mina-sshd/issues/661
2,831,780,163
661
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description I'm trying to pass additional connection-level environment variables when executing a command, however, this code ```kotlin createExecChannel("echo foo:\$FOO", null, mapOf("FOO" to "BAR")) ``` prints `foo:` I tried putting breakpoint to mina code and I see, that it indeed wr...
env variables, passed into `createExecChannel`, are inaccessible in the command
https://api.github.com/repos/apache/mina-sshd/issues/659/comments
2
2025-01-22T23:03:12Z
2025-01-23T13:48:08Z
https://github.com/apache/mina-sshd/issues/659
2,805,516,002
659
[ "apache", "mina-sshd" ]
I have read document with pseudo code but it doesn't help. e.g. how to create serverKeyVerifier as a delegate. How to restrict connection to server when key doesn't exists in known_hosts file etc. It would be great if anyone provides full working example code.
Create a sample code for generic use cases
https://api.github.com/repos/apache/mina-sshd/issues/658/comments
13
2025-01-21T19:41:32Z
2025-03-25T17:16:03Z
https://github.com/apache/mina-sshd/issues/658
2,802,663,136
658
[ "apache", "mina-sshd" ]
### Description Point or minor release to maven include #639 ### Motivation #639 Added a bouncycastle implementation of eddsa/ed25519. This is actually a requirement downstream in both jgit and gerrit who have bumped their minimum JREs to 17. The net.i2p.crypto eddsa implementation will crash jgit or gerrit if an ed...
Maven release for bouncycastle eddsa implementation
https://api.github.com/repos/apache/mina-sshd/issues/657/comments
2
2025-01-19T14:39:57Z
2025-02-24T22:18:06Z
https://github.com/apache/mina-sshd/issues/657
2,797,661,044
657
[ "apache", "mina-sshd" ]
Default implementation. Each cache session occupies 512 KB. ![Image](https://github.com/user-attachments/assets/8f9a8c11-0893-47d5-8fd3-1e0a7328cb6f) ![Image](https://github.com/user-attachments/assets/ca78a198-7f7c-4f2f-8340-e8bd6d3ea52f)
How Do I Clear the Buffer After a Cache Session Is Used to Avoid Memory Usage?
https://api.github.com/repos/apache/mina-sshd/issues/656/comments
2
2025-01-15T03:28:45Z
2025-01-15T10:25:28Z
https://github.com/apache/mina-sshd/issues/656
2,788,752,405
656
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description Loading a password-encrypted ssh key (generated by ssh-keygen -t ed25519) produces exception StreamCorrupted exception, saying that the private key check values are different. (Maybe a ssh-keygen error?) KeyPairResourceLoader loader = SecurityUtils.getKeyPairResourceParser...
ED25519 Encrypted keys report
https://api.github.com/repos/apache/mina-sshd/issues/655/comments
2
2025-01-15T02:45:18Z
2025-02-03T10:22:29Z
https://github.com/apache/mina-sshd/issues/655
2,788,711,979
655
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description Even though the dependency for `org.assertj:assertj-core` is in the section labelled for test dependencies it [does not ](https://github.com/apache/mina-sshd/blob/sshd-2.14.0/sshd-contrib/pom.xml#L99)have a `<scope>test</scope>` element, leading to it being treated as a compile...
org.assertj:assertj-core dependency should have test scope
https://api.github.com/repos/apache/mina-sshd/issues/654/comments
1
2025-01-14T10:51:59Z
2025-01-24T19:11:22Z
https://github.com/apache/mina-sshd/issues/654
2,786,828,031
654
[ "apache", "mina-sshd" ]
### Description Currently, KnownHostServerKeyVerifier does not have handle for revoked keys. It simply returns false. It would be good to abstract it to a separate function that you can override if you want to handle it in a specific way. Now you need to override acceptKnownHostEntries in order to add special handling...
Add option to extend KnownHostServerKeyVerifier handling of revoked keys
https://api.github.com/repos/apache/mina-sshd/issues/652/comments
2
2025-01-10T09:55:25Z
2025-01-25T17:29:29Z
https://github.com/apache/mina-sshd/issues/652
2,779,762,228
652
[ "apache", "mina-sshd" ]
### Version 2.13.2 ### Bug description Hi Thomas, We encounter a problem today with one of our the sftp server that enforces two authentication methods on its side, both public key and password. We use for our tests both mina for sftp client and sftp server (mock) in order to validate our different use cases, ...
Not possible to enforce two different authentication methods on sshd server
https://api.github.com/repos/apache/mina-sshd/issues/651/comments
2
2025-01-09T16:00:38Z
2025-01-10T17:34:00Z
https://github.com/apache/mina-sshd/issues/651
2,778,211,355
651
[ "apache", "mina-sshd" ]
### Version 2.8.0 ### Bug description I overwrote the authenticate function of the PublickeyAuthenticator.java and registered it with the ssh server. ``` sshServer.setPublickeyAuthenticator(publicKeyAuth); ``` But when the client provides the key and certificate, MINA SSHD displays an error: ``` 2024...
Supplied key (org.apache.sshd.common.config.keys.OpenSshCertificateImpl) is not a RSAPublicKey instance
https://api.github.com/repos/apache/mina-sshd/issues/650/comments
9
2024-12-27T07:04:57Z
2025-03-24T20:33:02Z
https://github.com/apache/mina-sshd/issues/650
2,760,497,100
650
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description Hello everybody, when I use by version 2.14 to connect a terminal, I always got an error like this: "Failed to get operation result within specified timeout: 30000 msec" But however I set longer timout number, I still got such timeout error after time what I se...
Failed to get operation result within specified timeout: xxx msec
https://api.github.com/repos/apache/mina-sshd/issues/649/comments
2
2024-12-25T02:24:02Z
2025-01-09T09:56:09Z
https://github.com/apache/mina-sshd/issues/649
2,758,420,708
649
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description The issue is related to [Apache MINA SSHD #458](https://github.com/apache/mina-sshd/issues/458). In version 2.12.1, a singleton thread pool was introduced for the Key Exchange (KEX) message handler flushing. This change has led to a significant increase in the time taken to ...
Single Thread for KEX Handling Causes Increased SSH Latency with High Concurrent Connections
https://api.github.com/repos/apache/mina-sshd/issues/647/comments
4
2024-12-20T08:02:30Z
2025-01-10T20:45:47Z
https://github.com/apache/mina-sshd/issues/647
2,752,171,978
647
[ "apache", "mina-sshd" ]
### Version 2.1.9 ### Bug description Building Apache Commons VFS with 2.1.9 on Java 8, we get: ``` [INFO] Running org.apache.commons.vfs2.provider.sftp.SftpProviderStreamProxyModeTestCase Error: Exception in thread "pool-17-thread-9" java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer; ...
mina-core 2.1.9 not compatible with 2.1.8 on Java 8?
https://api.github.com/repos/apache/mina-sshd/issues/646/comments
6
2024-12-19T13:55:36Z
2024-12-19T18:50:15Z
https://github.com/apache/mina-sshd/issues/646
2,750,414,321
646
[ "apache", "mina-sshd" ]
### Version 2.13.2 ### Bug description Hi @tomaswolf, I have a strange situation where I get this exception: org.apache.sshd.common.io.WritePendingException: A write operation is already pending; cannot write ... bytes. To explain the context, I use a shared session: ``` ClientSession clientSessio...
A write operation is already pending
https://api.github.com/repos/apache/mina-sshd/issues/644/comments
2
2024-12-12T16:05:43Z
2024-12-13T16:17:43Z
https://github.com/apache/mina-sshd/issues/644
2,736,316,529
644
[ "apache", "mina-sshd" ]
### Version 2.13.1 ### Bug description When performing an ls operation Path iterator is populating the paths with attributes associated, yet the AbstractSftpSubsystemHelper getAttributes calls the Provider readAttributes to resolve the path attributes. ### Actual behavior Provider readAttributes gets called for...
AbstractSftpSubsystemHelper getAttribute unable to read Path attribute from fileList
https://api.github.com/repos/apache/mina-sshd/issues/643/comments
8
2024-12-11T23:49:49Z
2025-01-07T21:40:13Z
https://github.com/apache/mina-sshd/issues/643
2,734,276,955
643
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description We upgrade from 2.13.2 to 2.14.0, after that we see timeout in the connections. If we downgrade to 2.13.2 the issue dissapear ### Actual behavior Main log ``` 2024-12-09T10:48:31.3468798Z 09 Dec 2024 10:48:31,295 [main] DEBUG SecurityUtils [] - register(BC) not...
TimeOut connecting using 2.14.0
https://api.github.com/repos/apache/mina-sshd/issues/642/comments
11
2024-12-09T12:11:58Z
2025-01-13T08:49:58Z
https://github.com/apache/mina-sshd/issues/642
2,726,866,664
642
[ "apache", "mina-sshd" ]
### Version 1.11.0 ### Bug description ![image](https://github.com/user-attachments/assets/0e495b23-d922-4d77-b5cb-ec56c8a90624) ### Actual behavior There will be such a problem on the customer's machine, and I cannot reproduce it ### Expected behavior 2024-12-09 17:12:10.979 DEBUG 280508 --- [nioEventLoopGr...
[state=Opened] SshException: unknown parameter type.
https://api.github.com/repos/apache/mina-sshd/issues/641/comments
1
2024-12-09T11:17:08Z
2024-12-19T11:36:32Z
https://github.com/apache/mina-sshd/issues/641
2,726,742,062
641
[ "apache", "mina-sshd" ]
### problem description I wrote an ssh server using mina-sshd, where sftp sessions often consumed unlimited system resources when there were many transfer tasks, which affected ssh sessions and other processes. ### questions I would like to ask if mina-sshd is configured to limit the system resource usage of sftp ...
Can I have a separate resource limit for sftp?
https://api.github.com/repos/apache/mina-sshd/issues/640/comments
2
2024-11-28T09:45:47Z
2024-11-29T01:26:53Z
https://github.com/apache/mina-sshd/issues/640
2,701,543,132
640
[ "apache", "mina-sshd" ]
### Version 2.12.0 ### Bug description After the upgrade from 2.10.0 to 2.12.0, Rename and move file directories on the remote SFTP server, If more than 10 files are operated, the operation fails. Invoke the SftpPath.getClient() .rename(); ### Actual behavior Failed (SshChannelOpenException) to execute: op...
After the upgrade from 2.10.0 to 2.12.0, batch move files,invoke SftpPath.getClient().rename. operation fails after 10 files moved.
https://api.github.com/repos/apache/mina-sshd/issues/637/comments
3
2024-11-20T13:01:11Z
2024-11-28T09:57:26Z
https://github.com/apache/mina-sshd/issues/637
2,675,784,060
637
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description To reproduce the bug locally, you can create a temporary SSH Server using docker (c.f. the following one liner): ```shell docker run -it --rm -v ${PWD}:/home/sftpuser/some-directory -p 2222:22 atmoz/sftp sftpuser:pass123:1001 ``` (More information on the `atmoz` [do...
Unsupported public key type in KnowHostEntry is invalidating all the host entries
https://api.github.com/repos/apache/mina-sshd/issues/636/comments
3
2024-11-19T16:58:57Z
2024-11-27T11:17:23Z
https://github.com/apache/mina-sshd/issues/636
2,672,882,069
636
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description I used sshd to establish two connection channels, and then there was a thread pool that sent custom heartbeat commands to the servers of the two connections every minute. However, I upgraded sshd from 2.2. 0 to 2.14. 0 and found that the link was disconnected. ### Actual beha...
HELP!:: ClientSessionImpl[xxxx@/xxx.xxx.xxx.xxx:port]) Caught IOException: Pipe broken
https://api.github.com/repos/apache/mina-sshd/issues/635/comments
1
2024-11-19T12:05:42Z
2025-01-09T09:54:06Z
https://github.com/apache/mina-sshd/issues/635
2,671,964,870
635
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description When the account directory file has a thousand tickets (all small files), it will be very slow when in ‘ls’ directory, taking about 30-40 seconds. ### Actual behavior When there are more and more files, the time for **‘ls**’ is also very long. In actual production environme...
sftp-server 'ls' command takes too long to execute
https://api.github.com/repos/apache/mina-sshd/issues/633/comments
3
2024-11-14T05:59:26Z
2024-11-18T01:57:55Z
https://github.com/apache/mina-sshd/issues/633
2,657,698,724
633
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description Discovered an issue that is difficult to reproduce and troubleshoot. The phenomenon is as follows: After creating port forwarding on the client through SSH -R, the client's network disconnects for uncertain reasons. However, the server's port cannot be released, and when testin...
The remote port forwarding on the server cannot be released, causing a large number of CLOSE_WAIT states.
https://api.github.com/repos/apache/mina-sshd/issues/632/comments
3
2024-11-13T02:43:14Z
2025-01-09T09:54:39Z
https://github.com/apache/mina-sshd/issues/632
2,653,947,568
632
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description Let say you have the following tree: ``` / /dirNameWithSpace /dirNameWithSpace /foobar.txt ``` If you want to ls the files within the `/dirNameWithSpace ` dir it fails with a `SSH_FX_NO_SUCH_FILE` error. I attached at the end a test case which reproduces the issue. ...
SSH_FX_NO_SUCH_FILE when reading a dir with a space character at the end
https://api.github.com/repos/apache/mina-sshd/issues/628/comments
0
2024-11-03T17:48:03Z
2024-11-08T18:04:05Z
https://github.com/apache/mina-sshd/issues/628
2,631,358,174
628
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description I'm trying to use `Streaming.Async` together with `ChannelDirectTcpip`: ```kotlin val channel = session.createDirectTcpipChannel(localAddress, remoteAddress) channel.streaming = Streaming.Async channel.open().verify(10, TimeUnit.SECONDS) // writing something to t...
NPE in ChannelDirectTcpip when used with Streaming.Async
https://api.github.com/repos/apache/mina-sshd/issues/626/comments
1
2024-10-27T15:06:48Z
2024-11-09T21:24:42Z
https://github.com/apache/mina-sshd/issues/626
2,616,662,221
626
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description I deployed a microservice on linux system ( arm ) and there is a timer task in this service, which will create sftp connection to fetch files from another node( one day one time. almost 14k files every time ). after this process running for almost 4 months, it occurs that th...
high CPU usage
https://api.github.com/repos/apache/mina-sshd/issues/625/comments
0
2024-10-26T11:06:56Z
2024-10-26T11:06:56Z
https://github.com/apache/mina-sshd/issues/625
2,615,763,728
625
[ "apache", "mina-sshd" ]
### Description [ERROR] 未命名的模块同时从 org.apache.sshd.common 和 org.apache.sshd.core 读取程序包 org.apache.sshd.server [ERROR] 未命名的模块同时从 org.apache.sshd.common 和 org.apache.sshd.core 读取程序包 org.apache.sshd.server.shell [ERROR] 未命名的模块同时从 org.apache.sshd.common 和 org.apache.sshd.core 读取程序包 org.apache.sshd.common [ERROR] 未命名的模块同...
use java module feature
https://api.github.com/repos/apache/mina-sshd/issues/624/comments
2
2024-10-18T08:12:01Z
2024-10-21T02:21:04Z
https://github.com/apache/mina-sshd/issues/624
2,596,796,879
624
[ "apache", "mina-sshd" ]
### Version sshd-core-2.10.0 ### Bug description I'm facing an issue while trying to authenticate an SSH session using the Apache Mina SSHD library in Java in a spring boot microservice project. I have a working implementation using JSch that connects successfully with a private key, but the equivalent code in...
Session is being closed/Invalid packet length: 1096041266 with Apache Mina SSHD
https://api.github.com/repos/apache/mina-sshd/issues/623/comments
6
2024-10-11T14:43:22Z
2024-12-13T09:12:11Z
https://github.com/apache/mina-sshd/issues/623
2,581,554,399
623
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description During the client#connect invocation, I am facing the parsing problem that provides me with identity in format "~/.ssh/sftp.pem", but Tilda is expected to be the first token. ```java public class Main { private static final int DEFAULT_SFTP_SESSION_TIMEOUT = ...
HostConfigEntry resolveIdentityFilePath Identity Problem
https://api.github.com/repos/apache/mina-sshd/issues/622/comments
6
2024-10-11T08:48:53Z
2025-04-28T20:20:11Z
https://github.com/apache/mina-sshd/issues/622
2,580,818,787
622
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description When trying to upload a file to a remote sftp using Spring integration, it first tries to check if the remote directory exist. To do so it calls lstat on the remote directory. We have a case when the call fails because there is a buffer underflow in the method org.apache.s...
Buffer underflow when reading time from remote
https://api.github.com/repos/apache/mina-sshd/issues/621/comments
8
2024-10-09T08:53:09Z
2025-01-20T13:05:54Z
https://github.com/apache/mina-sshd/issues/621
2,575,255,919
621
[ "apache", "mina-sshd" ]
### Version sshd-core-2.14.0 ### Bug description I'm facing an issue while trying to authenticate an SSH session using the **Apache Mina SSHD** library in Java in a spring boot microservice project. I have a working implementation using **JSch** that connects successfully with a private key, but the equivalent...
No more authentication methods available with Apache Mina SSHD
https://api.github.com/repos/apache/mina-sshd/issues/620/comments
4
2024-10-08T09:57:36Z
2024-10-09T13:27:08Z
https://github.com/apache/mina-sshd/issues/620
2,572,707,894
620
[ "apache", "mina-sshd" ]
### Version 2.14.0 ### Bug description Writing an `OpenSshCertificate` to a `Buffer` and then reading it back from there corrupts the `OpenSshCertificate.getMessage()`, which is supposed to be the bytes signed by the signature. `Buffer.getPublicKey(()` simply sets the message to all bytes read so far since ...
Reading OpenSshCertificates from a buffer is broken.
https://api.github.com/repos/apache/mina-sshd/issues/618/comments
0
2024-10-07T18:21:42Z
2024-10-07T19:40:11Z
https://github.com/apache/mina-sshd/issues/618
2,571,144,552
618
[ "apache", "mina-sshd" ]
### Description JGit supports setting post-receive and pre-receive hooks on `ReceivePack` instances. It should be possible to use them with `GitPackCommand`, e.g. by allowing users to set suppliers of `PostReceiveHook` and `PreReceiveHook` on `GitPackCommandFactory` objects. ### Motivation There is currently no way ...
Add support for git hooks on GitPackCommand
https://api.github.com/repos/apache/mina-sshd/issues/616/comments
0
2024-09-29T12:11:41Z
2024-10-11T07:47:01Z
https://github.com/apache/mina-sshd/issues/616
2,554,902,280
616
[ "apache", "mina-sshd" ]
### Description Enforce usage of JDK 17 at build time ### Motivation It seems required as indicated in the README... ### Alternatives considered _No response_ ### Additional context _No response_
Enforce usage of JDK 17 at build time
https://api.github.com/repos/apache/mina-sshd/issues/615/comments
4
2024-09-28T16:25:29Z
2025-02-26T07:34:54Z
https://github.com/apache/mina-sshd/issues/615
2,554,370,473
615
[ "apache", "mina-sshd" ]
### Version 2.13.2 ### Bug description the mina sshd 2.13.2 has problem to parse follow code: private ClientSession getSessionUsingJumpHost( SshClient sshClient, CommandObject commandObject) throws OcmdException, IOException { String hostName = commandObject.getNode(); String user = command...
proxy jump failure in mina sshd 2.13.2
https://api.github.com/repos/apache/mina-sshd/issues/609/comments
5
2024-09-19T18:43:18Z
2024-12-13T09:27:38Z
https://github.com/apache/mina-sshd/issues/609
2,537,114,246
609
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description While establishing session from SFTP 2.0 Client with SFTP2.0 server. We are using Public Key authentication for the connection and getting following error in stack trace org.apache.sshd.common.SshException: No more authentication methods available Need some help in resolv...
SFTP 2.0 Client does not connect with SFTP2.0 server using public key authentication
https://api.github.com/repos/apache/mina-sshd/issues/608/comments
1
2024-09-17T12:42:55Z
2024-10-09T13:26:36Z
https://github.com/apache/mina-sshd/issues/608
2,531,063,382
608
[ "apache", "mina-sshd" ]
### Description Support the ML-KEM key exchanges described in a current [draft RFC](https://datatracker.ietf.org/doc/html/draft-kampanakis-curdle-ssh-pq-ke-04). ### Motivation ML-KEM was standardized by NIST; it is basically Crystals-Kyber with a few modifications. See [FIPS 203](https://nvlpubs.nist.gov/nistpubs/FI...
Support ML-KEM key exchanges
https://api.github.com/repos/apache/mina-sshd/issues/606/comments
0
2024-09-11T15:44:03Z
2024-11-07T07:33:27Z
https://github.com/apache/mina-sshd/issues/606
2,520,105,781
606
[ "apache", "mina-sshd" ]
### Version 2.2.3 ### Bug description After upgrading Mina Core library to 2.2.3 version we starting getting below errors in rsyslog server when the session is closed at client side. unexpected GnuTLS error -110 in nsd_gtls.c:602: The TLS connection was non-properly terminated. [v8.2404.0 try https://www.rsyslog...
IOsession.closeNow is resulting GNU TLS error at rsyslog server
https://api.github.com/repos/apache/mina-sshd/issues/598/comments
2
2024-09-09T05:26:06Z
2024-12-13T09:28:20Z
https://github.com/apache/mina-sshd/issues/598
2,512,938,848
598
[ "apache", "mina-sshd" ]
### Version 2.13.2 ### Bug description Looking at the impl of `executeRemoteCommand(String command, OutputStream stdout, OutputStream stderr, Charset charset)`, `charset` argument is not respected as it's not passed into the channel creation method: https://github.com/apache/mina-sshd/blob/f039b689fd64af5fc...
`executeRemoteCommand` does not respect `charset` arg
https://api.github.com/repos/apache/mina-sshd/issues/597/comments
0
2024-09-07T00:57:54Z
2024-09-07T08:53:52Z
https://github.com/apache/mina-sshd/issues/597
2,511,356,493
597
[ "apache", "mina-sshd" ]
### Version 2.13.2 ### Bug description `sshd-common-tests` bundles its `logback-test.xml` into the released jar. This results in runtime warnings: ```07:27:57,812 |-WARN in ch.qos.logback.classic.util.DefaultJoranConfigurator@78d6692f - Resource [logback-test.xml] occurs multiple times on the classpath. 07:27:57...
sshd-common-tests should not bundle logback-test.xml
https://api.github.com/repos/apache/mina-sshd/issues/595/comments
0
2024-09-03T16:12:49Z
2024-09-11T10:52:48Z
https://github.com/apache/mina-sshd/issues/595
2,503,271,532
595
[ "apache", "mina-sshd" ]
### version 1.7.0 ### problem If I want to add the BC library's already implemented algorithms to the mina-sshd server and client, how do I start?
How to add mac algorithm and cipher algorithm supported by BC library to mina-sshd?
https://api.github.com/repos/apache/mina-sshd/issues/594/comments
2
2024-09-03T08:00:11Z
2024-09-03T08:58:28Z
https://github.com/apache/mina-sshd/issues/594
2,502,187,308
594
[ "apache", "mina-sshd" ]
### Version 2.13.2 ### Bug description When using using registar created for BCFIPS (which means any BC classes are available within the class path). I got ``` java.lang.IllegalArgumentException: BouncyCastle not registered at PluginClassLoader for mina-sshd-api-common//org.apache.sshd.common.util.Validate...
Cannot use Mina SSH client in a FIPS constrained environment
https://api.github.com/repos/apache/mina-sshd/issues/590/comments
11
2024-08-31T02:52:49Z
2024-09-05T18:32:10Z
https://github.com/apache/mina-sshd/issues/590
2,498,571,890
590
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description Recently migrated sshd-core,sshd-common, sshd-sftp and sshd-putty libraries from 2.6.0 to 2.12.1 . Since this update we started noticing scripts executed by the sshclient using org.apache.sshd.client.channel.ClientChannel logs all commands executed in the history logs. This is ...
Migrated from sshd core and common libraries from 2.6x to 2.12.1 and notices bash history logging is enabled
https://api.github.com/repos/apache/mina-sshd/issues/588/comments
2
2024-08-28T15:49:07Z
2024-12-13T09:29:49Z
https://github.com/apache/mina-sshd/issues/588
2,492,465,290
588
[ "apache", "mina-sshd" ]
### Version 2.13.2 ### Bug description Triggering the port after a successful access forwarding. ### Actual behavior The R connection is directly disconnected. ### Expected behavior I hope to fix this issue. ### Relevant log output _No response_ ### Other information _No response_
The `context` in the `writeBuffer` function of `NettyIoSession` is throwing a null pointer exception.
https://api.github.com/repos/apache/mina-sshd/issues/587/comments
12
2024-08-28T13:55:42Z
2024-09-07T08:53:35Z
https://github.com/apache/mina-sshd/issues/587
2,492,157,073
587
[ "apache", "mina-sshd" ]
### Description Currently, elliptical curve key support is available through a 3rd party library that is seemingly unmaintained (latest release 2018). JDK 22 add support for edec keys natively ### Motivation Remove reliance on 3rd-party library, use JDK-default key for up-and-comming ssh key format ### A...
Add support for JDK 22-native edec key support
https://api.github.com/repos/apache/mina-sshd/issues/585/comments
3
2024-08-20T03:19:53Z
2025-03-21T05:30:08Z
https://github.com/apache/mina-sshd/issues/585
2,474,631,876
585
[ "apache", "mina-sshd" ]
### Version 2.13.2 ### problem Why doesn't SftpSubSystem aggregate the data for handling sftp packets like SftpOutputStreamAsync's internalTransfer() method? Otherwise, under certain network delay and bandwidth limitation, SftpSubSystem will be much slower than openSSH to handle uploading and downloading and ls fi...
SftpSubSystem processes sftp request data 1-2 times slower than openSSH
https://api.github.com/repos/apache/mina-sshd/issues/584/comments
11
2024-08-20T02:33:09Z
2024-08-22T01:26:22Z
https://github.com/apache/mina-sshd/issues/584
2,474,593,504
584
[ "apache", "mina-sshd" ]
### Version 2.14.0-SNAPSHOT ### Bug description Split off from #525: The implementations of `NamedFactory.setupBuiltinFactories()` and `NamedFactory.setupTransformedFactories()` use incorrect filter expressions to filter out algorithms not supported by the platform. They use the expression `ignoreUnsuppo...
NamedFactory uses wrong filter expression
https://api.github.com/repos/apache/mina-sshd/issues/582/comments
0
2024-08-14T17:54:17Z
2024-08-14T20:11:07Z
https://github.com/apache/mina-sshd/issues/582
2,466,481,769
582
[ "apache", "mina-sshd" ]
### description sshd 2.13.0 I ran the sshd service on one of my centos7 machines, and in my tests the number of nio threads in the default configuration of SshServer was about the same as the capacity of a loaded session in a scenario configured with twice the number of cpu cores. About 1000 sftp connections are...
Increase SshServer nio thread count Can the configuration improve sshd concurrency performance?
https://api.github.com/repos/apache/mina-sshd/issues/581/comments
0
2024-08-13T01:43:06Z
2024-08-21T07:48:04Z
https://github.com/apache/mina-sshd/issues/581
2,462,196,453
581
[ "apache", "mina-sshd" ]
### Version 2.13.1 ### Bug description We are using Apache Mina to connect to an RHEL server, and intermittently we are getting IOException - "The semaphore timeout period has expired" while using Apache Mina SshClient. This error only occurs when connecting from a Windows client. Error only occurs 3 in...
Getting IOException - "The semaphore timeout period has expired" while using Apache Mina SshClient
https://api.github.com/repos/apache/mina-sshd/issues/578/comments
6
2024-08-07T18:14:10Z
2024-08-15T03:58:47Z
https://github.com/apache/mina-sshd/issues/578
2,454,055,161
578
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description .ALLOW_DHG1_KEX_FALLBACK doesn't seem to work ### Actual behavior Hi, I am trying to connect to the server using: sftp -oKexAlgorithms=diffie-hellman-group1-sha1 In the code, I have added the following configuration, to allow DHG1 algorithm with min key size 1024: Cor...
connection with diffie-hellman-group1-sha1
https://api.github.com/repos/apache/mina-sshd/issues/577/comments
1
2024-08-04T09:06:19Z
2024-08-21T15:11:50Z
https://github.com/apache/mina-sshd/issues/577
2,446,990,877
577
[ "apache", "mina-sshd" ]
question: Is it possible for mina-sshd to differentiate and forward ssh traffic from sftp traffic after creating a channel? And receive this forwarded traffic for processing?
Can mina-sshd Implement traffic diversion after ssh and sftp channels are opened?
https://api.github.com/repos/apache/mina-sshd/issues/576/comments
0
2024-07-31T12:51:28Z
2024-08-03T08:32:18Z
https://github.com/apache/mina-sshd/issues/576
2,439,986,081
576
[ "apache", "mina-sshd" ]
### Description SSHD could raise the target JDK runtime to JDK 17 or more. ### Motivation This would allow raising some dependencies: https://github.com/apache/mina-sshd/blob/master/.github/dependabot.yml#L25-L47 ### Alternatives considered With the new JDK release train, libraries and projects have to move a...
Plan SSHD 3.0
https://api.github.com/repos/apache/mina-sshd/issues/564/comments
5
2024-07-26T13:27:55Z
2025-04-24T20:57:38Z
https://github.com/apache/mina-sshd/issues/564
2,432,244,169
564
[ "apache", "mina-sshd" ]
### Description See https://github.com/openssh/openssh-portable/blob/V_9_8/PROTOCOL#L107-L138 > 1.9 transport: ping facility > > OpenSSH implements a transport level ping message `SSH2_MSG_PING` > and a corresponding `SSH2_MSG_PONG` reply. > > `#define SSH2_MSG_PING 192` > `#define SSH2_MSG_PONG 193` > >...
Implement ping@openssh.com extension
https://api.github.com/repos/apache/mina-sshd/issues/563/comments
0
2024-07-26T13:22:32Z
2024-07-26T13:23:20Z
https://github.com/apache/mina-sshd/issues/563
2,432,234,223
563
[ "apache", "mina-sshd" ]
### Description See https://github.com/openssh/openssh-portable/blob/V_9_8/PROTOCOL#L167-L184 > This protocol extension allows the SSH2_MSG_EXT_INFO to be sent > during user authentication. RFC8308 does allow a second > SSH2_MSG_EXT_INFO notification, but it may only be sent at the end > of user authentication a...
Implement ext-info-in-auth@openssh.com extension
https://api.github.com/repos/apache/mina-sshd/issues/562/comments
0
2024-07-26T13:16:07Z
2024-07-26T13:23:33Z
https://github.com/apache/mina-sshd/issues/562
2,432,221,845
562
[ "apache", "mina-sshd" ]
### Description See https://datatracker.ietf.org/doc/html/draft-ssh-global-requests-ok-00 ### Motivation No much useful, but let's advertise the good behaviour. ### Alternatives considered _No response_ ### Additional context _No response_
Implements global-requests-ok extension
https://api.github.com/repos/apache/mina-sshd/issues/545/comments
2
2024-07-25T10:39:47Z
2024-07-25T12:36:09Z
https://github.com/apache/mina-sshd/issues/545
2,429,631,418
545
[ "apache", "mina-sshd" ]
### Description Implement support for the "no-flow-control" SSH extension, per [RFC 8308](https://tools.ietf.org/html/rfc8308#section-3.3). ### Motivation This may bring some improvements on networks with high latency. ### Alternatives considered Growing the window size is an alternative, but requires a global mod...
Implement no-flow-control extension
https://api.github.com/repos/apache/mina-sshd/issues/539/comments
1
2024-07-25T09:39:50Z
2024-09-10T06:57:29Z
https://github.com/apache/mina-sshd/issues/539
2,429,508,418
539
[ "apache", "mina-sshd" ]
### Description Bump the minimal JDK version required for building to java 17. ### Motivation This will streamline the build, allow upgrading to more recent plugins. The minimal JDK requirement for runtime will be unchanged at JDK 8.
Require JDK 17 for building
https://api.github.com/repos/apache/mina-sshd/issues/536/comments
7
2024-07-23T16:20:18Z
2025-06-18T03:40:58Z
https://github.com/apache/mina-sshd/issues/536
2,425,604,693
536
[ "apache", "mina-sshd" ]
### Version 2.12.0 ### Bug description Connect to mina sshd sftp server using normal sftp client. Use "mkdir" to create a directory. The directory is created with mode 777 (rwxrwxrwx). The process umask (0022 or 0027) should prevent "write by others" being set. The directory is created with the correct mode t...
sftp subsystem ignores process umask when creating directory
https://api.github.com/repos/apache/mina-sshd/issues/535/comments
1
2024-07-22T15:56:14Z
2024-07-25T21:30:09Z
https://github.com/apache/mina-sshd/issues/535
2,423,220,427
535
[ "apache", "mina-sshd" ]
### Version 1.7.0 ### Bug description Hello everyone, I'm working on a project where I need to set up an SFTP server using Apache SSHD, which allows users to access multiple directories within a specified root directory. The root directory should be restricted to C:/FTP, and users should only be able to see and a...
Restricting User Access to Specific Directories in Apache SSHD SFTP Server
https://api.github.com/repos/apache/mina-sshd/issues/534/comments
2
2024-07-20T06:10:20Z
2024-12-12T05:40:40Z
https://github.com/apache/mina-sshd/issues/534
2,420,605,292
534
[ "apache", "mina-sshd" ]
### Version master ### Bug description (Split from #531) `ClientUserAuthService` ignores "authentication methods that can continue" on SSH_MSG_USERAUTH_FAILURE if not a partialSuccess. ### Actual behavior Server replies during publickey authentication ``` SSH_MSG_USERAUTH_FAILURE - partial=false, methods=pass...
Client auth: "authentication methods that can continue" is mishandled
https://api.github.com/repos/apache/mina-sshd/issues/533/comments
0
2024-07-19T07:58:06Z
2024-07-29T19:29:59Z
https://github.com/apache/mina-sshd/issues/533
2,418,303,800
533
[ "apache", "mina-sshd" ]
Hello, I'm using the following JGit and Apache MINA dependencies in my project: ``` implementation "org.eclipse.jgit:org.eclipse.jgit:6.10.0.202406032230-r" implementation "org.eclipse.jgit:org.eclipse.jgit.ssh.apache:6.10.0.202406032230-r" implementation "org.apache.sshd:sshd-git:2.13.1" ``` I've created a...
GitSshdSessionFactory - why do I need a credentialsProvider if I've configured the SshSessionFactory?
https://api.github.com/repos/apache/mina-sshd/issues/532/comments
4
2024-07-18T15:37:19Z
2024-08-28T14:39:42Z
https://github.com/apache/mina-sshd/issues/532
2,416,751,522
532
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description Hi @tomaswolf , We ran into the following case which seems maybe a wrong handling on server side, but still Apache Mina client behavior seems not ok against that. The following is negotiated: Kex: encryption algorithms (server to client) = aes128-ctr Kex: compr...
server host key algorithms = ssh-rsa but still try to encryp the key using rsa-sha2-512
https://api.github.com/repos/apache/mina-sshd/issues/531/comments
9
2024-07-17T04:14:50Z
2024-07-31T07:47:13Z
https://github.com/apache/mina-sshd/issues/531
2,412,599,609
531
[ "apache", "mina-sshd" ]
![image](https://github.com/user-attachments/assets/58ac7ec3-4fce-4c22-adb1-2e37641a1b0a) ![image](https://github.com/user-attachments/assets/1bf4da2e-41d4-4682-82a8-d2052c0efb58) ### version 1.7.0 ### phenomenon I configured the ControlMaster for the ssh client, then implemented an ssh server using the mina-ssh...
The sftp session fails to reuse the clientSession of the ssh session. Procedure
https://api.github.com/repos/apache/mina-sshd/issues/529/comments
2
2024-07-15T13:29:23Z
2024-07-16T01:01:11Z
https://github.com/apache/mina-sshd/issues/529
2,408,752,289
529
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description Hi, recently after migrating from JSch lib to mina we started facing a connection reset by peer issue (log below). Our service writes small files up to 10kb to a SFTP server. The problem occurs only on a high load when we get around 50 requests within one minute, so out of 50 we...
Connection reset by peer on high load
https://api.github.com/repos/apache/mina-sshd/issues/527/comments
8
2024-07-09T10:50:57Z
2025-03-18T15:29:17Z
https://github.com/apache/mina-sshd/issues/527
2,397,862,675
527
[ "apache", "mina-sshd" ]
### Description How do I link ssh using a http proxy, is there an example or is there another solution? ### Motivation We need to monitor some servers, but the network can't connect directly, we need to use a http proxy. ### Alternatives considered _No response_ ### Additional context I read some of the issue, b...
Hello, does sshd now support http proxy connections?
https://api.github.com/repos/apache/mina-sshd/issues/526/comments
1
2024-07-09T08:15:32Z
2024-07-09T11:07:21Z
https://github.com/apache/mina-sshd/issues/526
2,397,478,930
526
[ "apache", "mina-sshd" ]
### Version 2.13.1 ### Bug description Using Mina SSHd inside Gerrit, if sntrup761x25519-sha512@openssh.com is enabled, then OpenSSH cannot connect with an "incorrect signature" error. ### Actual behavior ``` $ ssh -p 29418 admin@localhost -o ControlMaster=no ssh_dispatch_run_fatal: Connection to ::1 port 29418:...
sntrup761x25519-sha512@openssh.com KEX causing "incorrect signature" with OpenSSH client
https://api.github.com/repos/apache/mina-sshd/issues/525/comments
9
2024-07-08T10:14:16Z
2024-08-14T17:58:09Z
https://github.com/apache/mina-sshd/issues/525
2,395,226,548
525
[ "apache", "mina-sshd" ]
### Phenomenon: Uploading and downloading files with mina-sshd is about twice as slow as JSCH ![企业微信截图_17198149038657](https://github.com/apache/mina-sshd/assets/109063690/e4138e25-44ad-40fa-a33e-e1033b44d6aa) ### Code: #### Mina-sshd ##### Dependency ```xml <dependency> <groupId>org.apache.sshd</groupId> ...
sftp clients based on the Mina-sshd and JSCH components upload and download files at very different speeds
https://api.github.com/repos/apache/mina-sshd/issues/524/comments
21
2024-07-01T06:35:06Z
2024-09-23T05:22:54Z
https://github.com/apache/mina-sshd/issues/524
2,382,968,647
524
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description I'm not able to run power shell command in background as like linux(using nohup and &) if i use start-job as a part of the command the exit status is 0 but not output from command ,its not giving any exception but not giving command out put also Example:- Start-Job ...
SSH for power shell support
https://api.github.com/repos/apache/mina-sshd/issues/523/comments
0
2024-06-26T14:00:41Z
2024-06-26T14:18:44Z
https://github.com/apache/mina-sshd/issues/523
2,375,448,127
523
[ "apache", "mina-sshd" ]
### Description The _executeRemoteCommand_ API in ClientSession needs a configurable timeouts since the default behavior is to try and run the commands indefinitely (correct me if I am wrong here) https://github.com/apache/mina-sshd/blob/master/sshd-core/src/main/java/org/apache/sshd/client/session/ClientSession.ja...
Configurable timeouts in ClientSession#execRemoteCommand
https://api.github.com/repos/apache/mina-sshd/issues/522/comments
0
2024-06-25T16:07:31Z
2025-04-11T06:55:33Z
https://github.com/apache/mina-sshd/issues/522
2,373,079,693
522
[ "apache", "mina-sshd" ]
### Description We did the basic setup for apache mina sshd server and set the FileSystemFactory of sshd (Ex: sshd.setFileSystemFactory(new SftpClientFileSystemFactory());) to connect to remote sftp server. Its working fine with one connection but when we tried to attempt multiple connection using same user it throw...
Multiple connection to remote sftp using same user throwing FileSystemAlreadyExistsException
https://api.github.com/repos/apache/mina-sshd/issues/521/comments
1
2024-06-25T12:54:45Z
2024-12-12T05:36:36Z
https://github.com/apache/mina-sshd/issues/521
2,372,627,577
521
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description Nmap can scan the version number of Apache mina sshd. Attackers may obtain the version number and find the corresponding vulnerability to attack the system. ### Actual behavior Nmap can scan the version number of Apache mina sshd. Attackers may obtain the version number and f...
Nmap can scan the version number of Apache mina sshd. Attackers may obtain the version number and find the corresponding vulnerability to attack the system.
https://api.github.com/repos/apache/mina-sshd/issues/520/comments
1
2024-06-22T03:47:07Z
2024-06-30T15:38:38Z
https://github.com/apache/mina-sshd/issues/520
2,367,523,432
520
[ "apache", "mina-sshd" ]
### Version 2.13.0 ### Bug description For this - https://repo1.maven.org/maven2/org/apache/sshd/sshd-osgi/2.13.0/ this exists - https://repo1.maven.org/maven2/org/apache/sshd/sshd-osgi/2.13.0/sshd-osgi-2.13.0-sources.jar but for this - https://repo1.maven.org/maven2/org/apache/sshd/sshd-sftp/2.13.0/...
Missing maven central source jars for the 2.13.0 release
https://api.github.com/repos/apache/mina-sshd/issues/519/comments
1
2024-06-19T12:17:46Z
2024-06-30T15:44:41Z
https://github.com/apache/mina-sshd/issues/519
2,362,228,502
519
[ "apache", "mina-sshd" ]
### Version sshd-core 2.12.0 ### Bug description Hello, I am using sshd-core to interact with some hardware devices. My code is structured as follows: ```java public abstract class BaseSshSessionSender extends AbstractSessionSender { protected SshClient client; protected ClientSession session; ...
how to set apache mina sshd io thread count?
https://api.github.com/repos/apache/mina-sshd/issues/518/comments
2
2024-06-17T03:22:48Z
2024-07-02T07:46:57Z
https://github.com/apache/mina-sshd/issues/518
2,356,264,358
518
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description If a BouncyCastleGeneratorHostKeyProvider is set in SshServer.setKeyPairProvider, the generated EC host key cannot be read by Mina's ECDSA PEM reader and a new key is re-generated for every start. Registering BouncyCastleKeyPairResourceParser with SecurityUtils addresses the is...
BouncyCastleGeneratorHostKeyProvider requires BouncyCastleKeyPairResourceParser for EC keys
https://api.github.com/repos/apache/mina-sshd/issues/517/comments
1
2024-06-16T12:42:34Z
2024-09-15T16:08:44Z
https://github.com/apache/mina-sshd/issues/517
2,355,744,132
517
[ "apache", "mina-sshd" ]
### Description Implement key-based SFTP authentication via file system provider, without specifying `user:password@host:port/path/to/file`, but just `user@host:port/path/to/file`. ### Motivation I'm trying to extend Apple's pkl-lang project by allowing to load remote resources via SFTP. I'm doing this by adding min...
Filesystem Provider with SSH key-based authentication
https://api.github.com/repos/apache/mina-sshd/issues/516/comments
2
2024-06-13T18:42:44Z
2025-06-23T15:21:59Z
https://github.com/apache/mina-sshd/issues/516
2,351,828,507
516
[ "apache", "mina-sshd" ]
### Description Which version of mina-ssh is compatible with openjdk21? ### Motivation openjdk21 support ### Alternatives considered _No response_ ### Additional context _No response_
OpenJDK 21 comptibility
https://api.github.com/repos/apache/mina-sshd/issues/515/comments
1
2024-06-13T14:37:42Z
2024-06-13T21:23:25Z
https://github.com/apache/mina-sshd/issues/515
2,351,326,663
515
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description We use this software. We have high requirements on algorithm security and specially adjust the algorithm. Actually, we find that "key-strict-c-v00@openssh.com is added after the selected algorithm by default. We think we've developed the algorithm, so we don't want to add it to...
Why add "key-strict-c-v00@openssh.com" and "key-strict-s-v00@openssh.com" in key Algorithms?
https://api.github.com/repos/apache/mina-sshd/issues/514/comments
1
2024-06-07T08:33:39Z
2024-06-07T15:18:55Z
https://github.com/apache/mina-sshd/issues/514
2,339,901,637
514
[ "apache", "mina-sshd" ]
![image](https://github.com/apache/mina-sshd/assets/109063690/76afe173-706c-44b0-8e81-f071078daa0e) My program uses sshClient to create a ChannelExec to do things like :"ssh user@ip cmd". I now want to reuse this connection so that I don't have to re-establish the ssh connection the next time I execute "ssh user@ip cm...
mina-sshd How does sshClient use the ssh ControlMaster feature
https://api.github.com/repos/apache/mina-sshd/issues/513/comments
2
2024-06-06T10:15:48Z
2024-06-09T17:21:30Z
https://github.com/apache/mina-sshd/issues/513
2,337,888,611
513
[ "apache", "mina-sshd" ]
https://github.com/apache/mina-sshd/blob/37d239e792edabe2008df8e98bf00eef167a147f/sshd-core/src/main/java/org/apache/sshd/common/io/BuiltinIoServiceFactoryFactories.java#L37 full class name in BuiltinIoServiceFactoryFactories for mina is unavailable. I have to modified the code from org.apache.sshd.common.io.mina....
Fix mina full class name in BuiltinIoServiceFactoryFactories
https://api.github.com/repos/apache/mina-sshd/issues/510/comments
3
2024-05-30T01:24:18Z
2024-05-31T17:08:43Z
https://github.com/apache/mina-sshd/issues/510
2,324,481,600
510
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description ```java Caused by: org.apache.sshd.common.util.buffer.BufferException: Underflow: requested=1668243314, available=39 at org.apache.sshd.common.util.buffer.Buffer.ensureAvailable(Buffer.java:661) ~[sshd-common-2.12.1.jar:2.12.1] at org.apache.sshd.common.util.buffer.ByteArr...
BufferException: Underflow error
https://api.github.com/repos/apache/mina-sshd/issues/509/comments
8
2024-05-27T14:46:34Z
2024-05-29T15:29:06Z
https://github.com/apache/mina-sshd/issues/509
2,319,327,491
509
[ "apache", "mina-sshd" ]
### Version 2.12.2 ### Bug description ```java try (SshClient client = SshClient.setUpDefaultClient()) { client.start(); clientSession = client.connect(config.getUsername(), config.getServerIp(), config.getSshPort()).verify().getSession(); boolean result = clientSession.auth()...
Can port forwarding be maintained? Currently, it is closed immediately after forwarding.
https://api.github.com/repos/apache/mina-sshd/issues/508/comments
3
2024-05-27T06:39:14Z
2024-05-27T08:29:17Z
https://github.com/apache/mina-sshd/issues/508
2,318,358,450
508
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description Those code below is my demo code. It works fine on local enviroment. But it does not work after deployed to remote server. The log output is shown below. But oddly, after restart the server, it works with no exceptions. And a period later(ussally after when another user ...
SFTP client does not work after it just worked
https://api.github.com/repos/apache/mina-sshd/issues/506/comments
1
2024-05-23T21:59:55Z
2024-05-24T06:46:40Z
https://github.com/apache/mina-sshd/issues/506
2,313,922,832
506
[ "apache", "mina-sshd" ]
https://github.com/apache/mina-sshd/blob/71b842f759f9879d7638bed175e5be006d9c0f46/sshd-core/src/main/java/org/apache/sshd/common/session/helpers/SessionHelper.java#L1149 The `reason` is not passed through to the listener: ``` protected void signalNegotiationEnd( SessionListener listener, ...
SessionHelper#signalNegotiationEnd should pass reason through to listener
https://api.github.com/repos/apache/mina-sshd/issues/504/comments
1
2024-05-16T13:50:32Z
2024-05-16T20:48:56Z
https://github.com/apache/mina-sshd/issues/504
2,300,474,860
504
[ "apache", "mina-sshd" ]
### Description how to modifying the owner attribute of files and directories uploaded to the Linux system bye mina-sshd sftp-server. The files and directory attributes uploaded now are all root ### Motivation Can control the file owner attribute according to the uploaded user. ### Alternatives considered none ...
how to modifying the owner attribute of files and directories uploaded to the Linux system bye mina-sshd sftp-server
https://api.github.com/repos/apache/mina-sshd/issues/503/comments
1
2024-05-16T08:00:24Z
2024-06-01T10:40:50Z
https://github.com/apache/mina-sshd/issues/503
2,299,651,504
503
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description The mina plugin attempts work out if EdDSA is supported using a different classloader than it actually uses for using `EdDSASecurityProviderUtils` leading to `ClassNotFoundExceptions` ### Actual behavior `NoClassDefError` ``` Caused by: java.lang.NoClassDefFound...
incorrect classloading of SecurityProviders
https://api.github.com/repos/apache/mina-sshd/issues/502/comments
1
2024-05-15T10:59:01Z
2024-05-15T11:21:02Z
https://github.com/apache/mina-sshd/issues/502
2,297,557,495
502
[ "apache", "mina-sshd" ]
### Version V2.8.0 ### Bug description I checked the https://github.com/apache/mina-sshd/issues/294 and merge the fix code to V2.8.0 That fixed the old issue, but there is still a issue here. If a exception happen in FilterInputStream init, for example, a "No such file" exception happen in client.read(p.toSt...
Memory Leak When SftpFileSystemProvider newInputStream get a Exception
https://api.github.com/repos/apache/mina-sshd/issues/500/comments
0
2024-05-11T05:20:33Z
2024-05-11T18:36:42Z
https://github.com/apache/mina-sshd/issues/500
2,290,679,955
500
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description I noticed that ExceptionUtils#peelException() returns a somewhat weird exception on my GW6 `(java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/management/ReflectionException)`, after digging into its code I found that this code got triggered when its not suppos...
OsUtils#isAndroid() returns false on WearOS
https://api.github.com/repos/apache/mina-sshd/issues/499/comments
1
2024-05-11T01:23:07Z
2024-05-29T20:23:47Z
https://github.com/apache/mina-sshd/issues/499
2,290,577,718
499
[ "apache", "mina-sshd" ]
### Description Hello. I'm trying to switch over from JSch to Mina SSHD but it's playing havoc with the Java 9 module system. There are packages in both sshd-core and sshd-common, and the modules system won't play ball with that. For example: error: module spring.integration.sftp reads package org.apache.sshd.commo...
Support for Java 9+ modules
https://api.github.com/repos/apache/mina-sshd/issues/497/comments
2
2024-05-09T15:59:39Z
2024-05-10T10:59:56Z
https://github.com/apache/mina-sshd/issues/497
2,287,994,481
497
[ "apache", "mina-sshd" ]
Now,I want to design a ssh server which can be connected by XShell or MobalXterm. And when I use XShell connect to this server, the server will verify the username and password from the XShell, when username and password is correct, then the connection can be created. After connected, the ssh server can output text to ...
Can I design a ssh server with sshd?
https://api.github.com/repos/apache/mina-sshd/issues/496/comments
5
2024-05-07T06:59:44Z
2024-05-27T20:37:06Z
https://github.com/apache/mina-sshd/issues/496
2,282,437,188
496
[ "apache", "mina-sshd" ]
### version:2.9.2 I configured my client to enable only arcfour256 algorithm, and then the server connecting to mina-sshd will encounter this exception, and the client connecting to a device supporting only arcfour256 algorithm through mina-sshd will also encounter this exception. But I'm fine with using the client ...
The arcfour256 algorithm fails to be configured with a specific mac algorithm
https://api.github.com/repos/apache/mina-sshd/issues/493/comments
6
2024-04-29T07:27:49Z
2024-05-16T21:49:04Z
https://github.com/apache/mina-sshd/issues/493
2,268,319,769
493
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description I use sshd-core to execute the hostname . But sometimes I got twice of the result. When this result appears , it usually report: handleEof(ChannelExec[id=0, recipient=1]-ClientSessionImpl[root@/10.253.146.1:22]) already signalled. I tested for several times and it happens once...
a problem when ChannelExec warned:handleEof-someInfo-already signalled
https://api.github.com/repos/apache/mina-sshd/issues/490/comments
2
2024-04-25T06:44:54Z
2024-04-25T08:44:41Z
https://github.com/apache/mina-sshd/issues/490
2,262,811,031
490
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description sshd-sftp 2.11.0 version - cannot list files in a directory when connecting to windows sftp server(windows server 2019) ### Actual behavior We are using sshd-sftp 2.11.0 version to connect to SFTP servers and do transfer of files from SFTP to AWS S3 It works fine when ...
sshd-sftp - Not able to get files from windows server
https://api.github.com/repos/apache/mina-sshd/issues/489/comments
11
2024-04-24T16:34:44Z
2024-05-01T16:56:01Z
https://github.com/apache/mina-sshd/issues/489
2,261,720,810
489
[ "apache", "mina-sshd" ]
### Version 2.12.0 ### Bug description After the upgrade to 2.12.0, the query of remote files times out. [ ERROR] [2024-04-23 11:47:31.900] [177.209.11.83] [servicecomb-pool-1-thread-1] [com.huawei.csp.om.framework.component.sftp.impl.SftpClientImpl.ls(SftpClientImpl.java:410)] - org.apache.sshd.common.SshException...
After the upgrade to 2.12.0, the query of remote files times out.
https://api.github.com/repos/apache/mina-sshd/issues/488/comments
2
2024-04-23T10:14:48Z
2024-04-23T14:10:36Z
https://github.com/apache/mina-sshd/issues/488
2,258,488,402
488
[ "apache", "mina-sshd" ]
Hello, We have recently moved to the latest LTS release of BC (due to a prev BC bug fix). However we have now been affected by this bug which is fixed now https://github.com/apache/mina-sshd/issues/455 I am wondering when you are able to do a new release incorporating the above. Is a 2.12 patch release possible, if...
Looking for release date for next release of mina-sshd
https://api.github.com/repos/apache/mina-sshd/issues/487/comments
3
2024-04-19T14:55:33Z
2024-07-13T13:40:00Z
https://github.com/apache/mina-sshd/issues/487
2,253,218,344
487
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description Dear apache support team, we are switching our communication software from the JSCHED sftp library to the apache-mina library. We realized that the apache mina library does not reach the performance of the JSCHED library. I have written a small program to send a 700 MB...
Perfomance file transfer
https://api.github.com/repos/apache/mina-sshd/issues/485/comments
13
2024-04-16T15:22:43Z
2024-07-16T21:35:28Z
https://github.com/apache/mina-sshd/issues/485
2,246,328,253
485
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description Hi, I recently migrated a project to Spring Boot 3 and faced an issue connecting to a remote SFTP server. I get a timeout during auth, this is what I see in logs ``` Disconnecting(ClientSessionImpl[someuser@somehost/0.0.0.0:22]): SSH2_DISCONNECT_PROTOCOL_ERROR - Detected...
AuthTimeout when connecting to SFTP server
https://api.github.com/repos/apache/mina-sshd/issues/484/comments
3
2024-04-15T15:09:15Z
2024-05-08T14:22:45Z
https://github.com/apache/mina-sshd/issues/484
2,243,928,278
484
[ "apache", "mina-sshd" ]
We need to connect many SFTP servers and some SFTP servers are still using ` ssh-dss` algorithm for SFTP connection. We have to use MuleSoft SFTP connector which internally uses `sshd-core-2.12.1` library, by default ` ssh-dss` algorithm are disabled because it is too weak to considered. I'm able to communicate...
Enable ssh-dss algorighthm through system variable
https://api.github.com/repos/apache/mina-sshd/issues/483/comments
1
2024-04-11T12:56:40Z
2024-05-08T17:17:37Z
https://github.com/apache/mina-sshd/issues/483
2,237,667,306
483
[ "apache", "mina-sshd" ]
### Version group: 'org.apache.sshd',name: 'sshd-core',version: '2.12.0' ### Bug description After my SSH client receives the message `o.a.sshd.client.channel.ChannelShell - handleUnknownChannelRequest(ChannelShell[id=0, recipient=0]-ClientSessionImpl[admin@/10.252.146.106:61122]) Unknown channel request: keepalive@...
SSH Client Disconnects on Receiving Keepalive Requests
https://api.github.com/repos/apache/mina-sshd/issues/482/comments
5
2024-04-11T02:36:49Z
2024-06-07T02:48:01Z
https://github.com/apache/mina-sshd/issues/482
2,236,799,841
482