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.12.1 ### Bug description Hello dear Apache SSHD team, I would like to have the apache sshd client connect through a SOCKS5 or HTTP Proxy. Based on the eclipse jgit project we install a ClientProxyConnector that tells the session to divert all messages received to the proxy connector until the pro...
ClientProxyConnector/sendClientProxyMetadata
https://api.github.com/repos/apache/mina-sshd/issues/481/comments
4
2024-04-09T12:36:14Z
2025-04-22T12:42:53Z
https://github.com/apache/mina-sshd/issues/481
2,233,344,305
481
[ "apache", "mina-sshd" ]
### Description Hi, I noticed there are quite a few uses of spinlocks (`synchronized` usage) within mina. Are there any plans to replace these with `ResourceLocks` to prevent thread pinning (as discussed in [JEP-444](https://openjdk.org/jeps/444))? Without it, it's not reasonable to use mina with virtual threads in al...
Adding Project Loom Support
https://api.github.com/repos/apache/mina-sshd/issues/480/comments
1
2024-04-05T20:49:02Z
2024-04-08T08:38:10Z
https://github.com/apache/mina-sshd/issues/480
2,228,786,162
480
[ "apache", "mina-sshd" ]
### Description Please take a look at https://github.com/jetty/jetty.project/issues/7647 and comment on whether it is technically possible to establish an encrypted SOCKS proxy using mina, and if so, why it could be failing in my case. ### Motivation Clients who wants to prevent a man-in-the-middle from knowing what...
Clarify how to establish an encrypted SOCKS proxy
https://api.github.com/repos/apache/mina-sshd/issues/479/comments
4
2024-03-20T15:25:53Z
2024-03-22T21:53:24Z
https://github.com/apache/mina-sshd/issues/479
2,197,827,290
479
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description We are currently transitioning from using JSCH to Apache Mina for our SFTP calls. My application requires high scalability and performance, as it handles teh transmission over 50,000 files totaling 5 TB in size. Previously we utilized JSCH but we have now adopted to Apache Mi...
Performance Disparity Between Apache Mina and JSCH
https://api.github.com/repos/apache/mina-sshd/issues/478/comments
3
2024-03-19T20:26:30Z
2024-07-16T21:38:36Z
https://github.com/apache/mina-sshd/issues/478
2,195,940,796
478
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description We are using Apache mina jars v2.9.2 in our application. Our customer on this version, reported the memory leak issue with the Apache mina sftp client, and there is a build of 1.8k plus threads of sshd-SschClient. ### Actual behavior Getting memory leak with apache mina sft...
SSHD client causing memory leak due to SSHD calls in vast number around 1.8k
https://api.github.com/repos/apache/mina-sshd/issues/474/comments
5
2024-03-13T10:54:58Z
2024-08-09T11:01:26Z
https://github.com/apache/mina-sshd/issues/474
2,183,695,261
474
[ "apache", "mina-sshd" ]
### Version 2.11.0, 2.12.0, 2.12.1 ### Bug description Hi team, After a recent update we encounter a change in behavior with regard to the disconnect procedure. Last version with expected result: 2.10.0 Versions with unexpected results: 2.11.0, 2.12.0, 2.12.1 (latest release) Starting with 2.11.0 the...
Unexpected disconnect behavior leading to exit code 1 since 2.11.0
https://api.github.com/repos/apache/mina-sshd/issues/473/comments
16
2024-03-11T14:19:31Z
2024-03-15T12:35:27Z
https://github.com/apache/mina-sshd/issues/473
2,179,256,142
473
[ "apache", "mina-sshd" ]
### Version 2.9.2 **Edit 2024/03/31: actually the bug shows up in versions up to 2.7.0. Since version 2.8.0 the bug does not manifest.** ### Bug description Download the Gerrit code review source code **(Edit 2024/03/31: git checkout --recurse-submodules v3.6.4)** and run all unit tests several times. ### ...
NullPointerException in org.apache.sshd.common.kex.MontgomeryCurve.generateKeyPair()
https://api.github.com/repos/apache/mina-sshd/issues/470/comments
2
2024-02-25T11:24:32Z
2024-04-02T18:09:29Z
https://github.com/apache/mina-sshd/issues/470
2,152,718,441
470
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description Start a service with sshd, connect to the service with iterm, and repeat each time you enter the command, including carriage return ### Actual behavior Using follow code to start one server . ``` SshServer sshd = ServerBuilder.builder() .build(); ...
InteractiveProcessShellFactory . Each character entered is repeated
https://api.github.com/repos/apache/mina-sshd/issues/469/comments
2
2024-02-23T08:05:41Z
2024-02-28T01:16:59Z
https://github.com/apache/mina-sshd/issues/469
2,150,577,743
469
[ "apache", "mina-sshd" ]
### Version 2.12.1 ### Bug description Hello, We are using Mina to download and upload files to various sftp servers. We have noticed that while fetching some files with a size >200 Mb to a precise sftp server, content of the file is bigger than what is on the server. For a text file we can see unexpected ...
Wrong content while downloading files >200Mb
https://api.github.com/repos/apache/mina-sshd/issues/468/comments
18
2024-02-22T15:30:22Z
2024-05-05T19:07:02Z
https://github.com/apache/mina-sshd/issues/468
2,149,336,108
468
[ "apache", "mina-sshd" ]
### Description In order to support edge cases with SSH agents like outlined in either 1. https://keepassxc.org/docs/#faq-ssh-agent-openssh or 2. https://developer.1password.com/docs/ssh/agent/advanced#match-key-with-host it is important to evaluate the SSH config entry for `IdentityFile` settings first. In case...
Consider IdentityFile from SSH Config with UserAuthPublicKey
https://api.github.com/repos/apache/mina-sshd/issues/466/comments
1
2024-02-19T18:48:03Z
2024-02-19T19:12:56Z
https://github.com/apache/mina-sshd/issues/466
2,142,969,473
466
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description This method regularly produces a NullPointer which it immediately catches and logs as a warning before ignoring it. Hence, this is just warning log spam which makes it more difficult to identify true problems. ### Actual behavior The message of the NullPointerException: > C...
NullPointer in ChannelSession.closeImmediately0() leading to regular warning log spam
https://api.github.com/repos/apache/mina-sshd/issues/465/comments
2
2024-02-11T07:11:10Z
2024-03-19T22:45:53Z
https://github.com/apache/mina-sshd/issues/465
2,128,872,228
465
[ "apache", "mina-sshd" ]
### Version 2.6.0 ### Bug description In my case, 20 connections were established using the same mina ssh client, 10 to A-server(mina ssh server) and the others to B-server(mina ssh server). For a period of time, the network from client to B-server was not smooth. At this time, we found that the session from client ...
heartbeat timeout of a session will cause the links of other sessions to be disconnected
https://api.github.com/repos/apache/mina-sshd/issues/461/comments
4
2024-01-30T09:14:30Z
2024-05-29T14:48:20Z
https://github.com/apache/mina-sshd/issues/461
2,107,311,161
461
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description Im getting time out exception after 10 min . If the command executes before ten minutes the program is working as expected. ### Actual behavior public static void main(String[] args) throws IOException, InterruptedException { SshClient sshClient = SshClient....
Getting time out after 10 min
https://api.github.com/repos/apache/mina-sshd/issues/460/comments
5
2024-01-28T14:42:48Z
2024-01-29T07:45:19Z
https://github.com/apache/mina-sshd/issues/460
2,104,196,531
460
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description `KeyExchangeMessageHandler:89` creates an unnamed SingleThreadExecutor, which is kept open for each session. In our use case we create connections to several thousand servers and keep them open. Would it be possible to close this pool more eagerly? If not or too complicated,...
KeyExchangeMessageHandler threads pilling up
https://api.github.com/repos/apache/mina-sshd/issues/458/comments
0
2024-01-24T19:55:17Z
2024-01-30T08:31:17Z
https://github.com/apache/mina-sshd/issues/458
2,098,980,839
458
[ "apache", "mina-sshd" ]
### Version 2.7.0 ### Bug description I found that Apache mina 2.7.0+ bouncycastle 2.73.3 + java8 + linux brings javax.crypto.ShortBufferException, so originally I created my question as the bouncycastle issue https://github.com/bcgit/bc-java/issues/1562. Bouncycastle DevTeam replied that this is a bug in Apache mi...
Mina's AbstractSessionHelper and BaseCipher are ignoring lengths returned from cipher update and deriving information from the input len rather than what has actually been processed during the update
https://api.github.com/repos/apache/mina-sshd/issues/455/comments
12
2024-01-18T10:45:48Z
2024-05-11T18:37:44Z
https://github.com/apache/mina-sshd/issues/455
2,088,014,004
455
[ "apache", "mina-sshd" ]
### Version 2.11 ### Bug description Using Apache SSHD is now causing projects to fail security scanning due to CVE-2023-48795. Appreciate this is a much wider issue than just this project. Details of the vulnerability are already available publicly here: https://nvd.nist.gov/vuln/detail/CVE-2023-48795#range-1021...
Address CVE-2023-48795 (details are already public)
https://api.github.com/repos/apache/mina-sshd/issues/453/comments
1
2024-01-14T11:01:27Z
2024-01-14T12:31:21Z
https://github.com/apache/mina-sshd/issues/453
2,080,680,693
453
[ "apache", "mina-sshd" ]
### Description I need to handle multiple users and multiple commands from each user. For example multiple clients are executing put command to the SFTP server, in this case, I want to read the data in the `SFTPEventListener` class and do some processing. But I saw that the class instance is shared amongst multiple ...
Handle concurrent clients implicitly within the SFTP server EventListener
https://api.github.com/repos/apache/mina-sshd/issues/452/comments
1
2024-01-08T08:31:45Z
2024-01-08T12:21:12Z
https://github.com/apache/mina-sshd/issues/452
2,069,960,804
452
[ "apache", "mina-sshd" ]
Hi, I noticed mina-sshd supports md5-hash extended SFTP request. Do you have an example of how to call it from java code, or are you familiar with open source code that supports it? Thanks, Avner
Question regarding the md5-hash extension
https://api.github.com/repos/apache/mina-sshd/issues/450/comments
3
2024-01-04T10:52:23Z
2024-03-17T06:05:47Z
https://github.com/apache/mina-sshd/issues/450
2,065,430,302
450
[ "apache", "mina-sshd" ]
Hi. I am running a Mina-based Sftp server on v2.11.0. I am having performance issues compared to regular SSHD, so I want to try to tune the `POOL_SIZE` or other variables of the underlying `SftpFileSystem` to see if that helps as mentioned in the [2.11 release notes](https://github.com/apache/mina-sshd/releases/tag/ssh...
How can I set the SftpFileSystem POOL_SIZE for my SshServer?
https://api.github.com/repos/apache/mina-sshd/issues/448/comments
2
2024-01-02T22:03:52Z
2024-01-05T14:41:12Z
https://github.com/apache/mina-sshd/issues/448
2,063,007,858
448
[ "apache", "mina-sshd" ]
In certain situations, network interruptions might lead to transfer interruptions. I'd like to avoid restarting file upload or download and instead resume from where it was interrupted. How can this be achieved using mina-sshd?
How to implement SFTP resuming transfer using mina-sshd?
https://api.github.com/repos/apache/mina-sshd/issues/447/comments
1
2024-01-02T05:48:52Z
2024-06-01T10:40:32Z
https://github.com/apache/mina-sshd/issues/447
2,061,968,027
447
[ "apache", "mina-sshd" ]
### Description Hello, is Mina or any contributor planning to work on adding the new OpenSSH protocol extension "strict-KEX" for mitigating Terrapin attacks? Also did somebody check for the counter overflow conditions mentioned in the advanced counter manupulation section of the paper? BTW: when implementing ...
Terrapin Mitigation: "strict-kex"
https://api.github.com/repos/apache/mina-sshd/issues/445/comments
13
2023-12-19T09:10:38Z
2024-01-15T14:48:44Z
https://github.com/apache/mina-sshd/issues/445
2,048,232,109
445
[ "apache", "mina-sshd" ]
### Version 2.11 ### Bug description when i use top command, the response is 'windows': unknown terminal type. i run client on windows 10 ![image](https://github.com/apache/mina-sshd/assets/25277783/ecc5cceb-5e0c-418c-9b3c-7b5baca3ea33) ### Actual behavior ![image](https://github.com/apache/mina-sshd/assets/2...
When use the client, can't support the command: top
https://api.github.com/repos/apache/mina-sshd/issues/444/comments
1
2023-12-09T15:48:12Z
2024-01-04T18:02:58Z
https://github.com/apache/mina-sshd/issues/444
2,033,900,731
444
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description ```java package cn.dyw.web.jshell.client; import org.apache.sshd.client.SshClient; import org.apache.sshd.client.channel.ClientChannel; import org.apache.sshd.client.channel.ClientChannelEvent; import org.apache.sshd.client.future.ConnectFuture; import org.apache.sshd.c...
When using SSH client, the server has no output
https://api.github.com/repos/apache/mina-sshd/issues/441/comments
3
2023-12-04T13:52:09Z
2023-12-11T05:43:42Z
https://github.com/apache/mina-sshd/issues/441
2,023,910,011
441
[ "apache", "mina-sshd" ]
### Version 2.11 ### Bug description Pretty often, when the client connects to Mina SSHD server via some ISPs, the connection got stuck. Mine investigation so far brought to lost window adjust packets. How the picture looks from client (with -vvv option): ``` debug2: channel 0: open confirm rwindow 2097152 rma...
Lost window adjust packets (SSH_MSG_CHANNEL_WINDOW_ADJUST)
https://api.github.com/repos/apache/mina-sshd/issues/440/comments
1
2023-12-01T14:14:45Z
2023-12-10T19:45:57Z
https://github.com/apache/mina-sshd/issues/440
2,020,964,576
440
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description Hello, In our application we are connecting to multiple different sftp servers, that may require different configuration (ciphers, macs etc...) so I have created one SshClient with global settings ```java SshClient client = SshClient.setUpDefaultClient(); // ...
Ciphers and KEX override at ClientSession level not taken into account
https://api.github.com/repos/apache/mina-sshd/issues/439/comments
6
2023-12-01T07:59:11Z
2024-01-09T16:48:23Z
https://github.com/apache/mina-sshd/issues/439
2,020,323,147
439
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description Java远程银河麒麟V10服务器时,首先可以确定的是密码是对的,而且服务器也开启了密码验证登录,并且通过Xshell工具可以访问。现在通过mina-sshd连接时,抛出了异常,如下: (When attempting to connect to a Kylin V10 server remotely using Java, it is certain that the password is correct, and password-based authentication is enabled on the server, conf...
org.apache.sshd.common.SshException: No more authentication methods available
https://api.github.com/repos/apache/mina-sshd/issues/436/comments
11
2023-11-27T12:27:15Z
2024-10-14T07:47:41Z
https://github.com/apache/mina-sshd/issues/436
2,012,166,016
436
[ "apache", "mina-sshd" ]
### Version 2.6.0 ### Bug description When the mina ssh client uses the domain name to request the cluster ssh server, the ssh client does not achieve load balancing. ### Actual behavior When I use mina ssh client to connect to mina ssh server, I use the domain name for access. When the domain name is a.com, the c...
use client to connect to the cluster server, and the connection will only be established to one instance.
https://api.github.com/repos/apache/mina-sshd/issues/435/comments
2
2023-11-20T10:04:35Z
2023-12-15T10:16:12Z
https://github.com/apache/mina-sshd/issues/435
2,001,816,384
435
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description When receiving `hostkeys-00@openssh.com` request, client by default uses `org.apache.sshd.client.global.OpenSshHostKeysHandler` to process it. This handler's `handleHostKeys` method does nothing but logging keys when debug is enabled. But there is no exception handling ...
org.apache.sshd.client.global.OpenSshHostKeysHandler should ignore unsupported host keys
https://api.github.com/repos/apache/mina-sshd/issues/434/comments
2
2023-11-18T11:05:13Z
2024-01-09T18:00:34Z
https://github.com/apache/mina-sshd/issues/434
2,000,373,799
434
[ "apache", "mina-sshd" ]
### Description Mina SSH Server should have a way to handle multi-factor authentication using a generic mecanism that will be implemented as need (Google Auth, Authy, ...) ### Motivation This improvement can also improve security as required in some companies which require a private key and a security code. ### A...
Add Support for Multi-Factor Authentication
https://api.github.com/repos/apache/mina-sshd/issues/433/comments
1
2023-11-14T09:41:24Z
2023-12-10T20:13:19Z
https://github.com/apache/mina-sshd/issues/433
1,992,366,945
433
[ "apache", "mina-sshd" ]
### Version 2.5.0 & 2.5.1 ### Bug description Huge File transfer (>5GB) to AIX host through SSH key credentials is always getting hung and SocketTimeoutException is reported - Hang with SSH Key credentials + AIX is unpredictable. At times, File transfer hangs after transferring 300MB and at times at 2GB, 4.9G...
Huge File transfer (>5GB) to AIX host through SSH key credentials is always getting hung and SocketTimeoutException is reported
https://api.github.com/repos/apache/mina-sshd/issues/432/comments
2
2023-11-14T08:41:48Z
2024-01-04T18:01:56Z
https://github.com/apache/mina-sshd/issues/432
1,992,251,706
432
[ "apache", "mina-sshd" ]
### Description To make the git protocol-v2 work, the env. variable GIT_PROTOCOL has to be set to the 'version=2' value on the client side. The SSHD server reads the variable and sets extra parameters to use protocol v2. ### Motivation Git protocol v2 improves the v1 wire protocol in several ways and should be the...
Support GIT protocol-v2
https://api.github.com/repos/apache/mina-sshd/issues/429/comments
1
2023-11-02T18:59:32Z
2023-12-11T17:48:29Z
https://github.com/apache/mina-sshd/issues/429
1,974,871,299
429
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description When calling `ScpClient.download(String, String)`, the method does not throw any exception or indicate to the caller that the SCP failed when the remote file is not available. Is this the expected behavior? From the logging, we can see a WARNING exit status is received...
ScpClient download fails silently when the remote files does not exist
https://api.github.com/repos/apache/mina-sshd/issues/428/comments
11
2023-10-31T18:52:34Z
2024-01-04T18:05:25Z
https://github.com/apache/mina-sshd/issues/428
1,971,115,760
428
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description When attempting to upload/scp a byte stream using the below method, the main thread will always block until the exit status timeout is reached. `DefaultScpClient::upload(InputStream local, String remote, long size,Collection<PosixFilePermission> perms, ScpTimestampComman...
DefaultScpClient.upload(InputStream, ...) will always hit the exit status timeout
https://api.github.com/repos/apache/mina-sshd/issues/427/comments
4
2023-10-31T18:46:39Z
2024-05-11T18:56:55Z
https://github.com/apache/mina-sshd/issues/427
1,971,107,110
427
[ "apache", "mina-sshd" ]
### Version 2.11.0 ### Bug description I have not found any examples of what I am trying to do in official documentation. I have two tests here (in kotlin): ```kotlin package minatest import com.google.common.truth.Truth import org.apache.sshd.client.SshClient import org.junit.jupiter.api.MethodOrderer.Ord...
Client does not work the same when using the async api as with the synchronous api
https://api.github.com/repos/apache/mina-sshd/issues/426/comments
1
2023-10-24T20:46:58Z
2024-02-01T21:21:09Z
https://github.com/apache/mina-sshd/issues/426
1,960,048,472
426
[ "apache", "mina-sshd" ]
### Version 2.9.3, 2.11.0 ### Bug description Cannot find the latest tags on https://repo1.maven.org/maven2/org/apache/sshd/sshd-core/ ### Actual behavior No artifacts available ### Expected behavior Artifacts for tagged versions are available in maven central ### Relevant log output _No response_ ### Other i...
Artifacts seems to be missing from maven central
https://api.github.com/repos/apache/mina-sshd/issues/425/comments
1
2023-10-18T08:37:51Z
2023-10-18T10:34:19Z
https://github.com/apache/mina-sshd/issues/425
1,949,189,282
425
[ "apache", "mina-sshd" ]
Hello, In order to copy recursively a directory (containing files) to a destination, the sftp's put command provide the -r option. But I'm not able to do that when communicating with a sftp server that I coded using mina-sshd. The class sshd.sftp.server.AbstractSftpSubsystemHelper throws a NoSuchFileException w...
mina-sftp : support for recursive copy with put
https://api.github.com/repos/apache/mina-sshd/issues/423/comments
1
2023-10-10T10:15:15Z
2023-10-10T12:44:12Z
https://github.com/apache/mina-sshd/issues/423
1,934,974,960
423
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description I am trying to get the SSH server functionality running, and am having problems. I think it might be useful for people new to the project and to the internals of SSH if there was a ready-made example of how to run an SSH server (with all the most common options). The curr...
Add complete example for running an SSH server
https://api.github.com/repos/apache/mina-sshd/issues/421/comments
2
2023-09-28T13:02:30Z
2024-01-31T08:50:32Z
https://github.com/apache/mina-sshd/issues/421
1,917,508,174
421
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description We have two applications, `server` and `client`. `server` has an Apache MINA SSHD server running and `client` connects to this using an Apache MINA SSHD client. The `client` also sets up remort port forwarding tunnel, so that `server` can connect to a REST service that is runnin...
"ClosedChannelException while shutting down output" after using remote port forwarding tunnel
https://api.github.com/repos/apache/mina-sshd/issues/420/comments
3
2023-09-27T08:40:55Z
2023-10-09T17:20:27Z
https://github.com/apache/mina-sshd/issues/420
1,915,002,618
420
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description When we can close the channel and session objects after writing the commends successfully into the channel, we are getting below warning message. Could you please help me on this? WARN ---[state=Graceful] **SshException: Write attempt on closing session: SSH_MSG_CHANNE...
[state=Graceful] SshException: Write attempt on closing session: SSH_MSG_CHANNEL_EOF
https://api.github.com/repos/apache/mina-sshd/issues/418/comments
5
2023-09-20T08:06:43Z
2023-10-06T21:27:46Z
https://github.com/apache/mina-sshd/issues/418
1,904,417,885
418
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description When using a custom thread to send netconf messages, the cpu is continuously occupied, which affects the code of other modules. I suspect that this happened due to the link being broken during key exchange.The debug log is as follows ### Actual behavior When using a cu...
A broken link during key exchange may cause an infinite loop.
https://api.github.com/repos/apache/mina-sshd/issues/414/comments
3
2023-09-06T08:50:24Z
2023-09-12T19:23:04Z
https://github.com/apache/mina-sshd/issues/414
1,883,554,691
414
[ "apache", "mina-sshd" ]
### Version 2.10 ### Bug description I am trying to integrate the [Azure Keyvault JCA library](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/keyvault/azure-security-keyvault-jca) when creating client connections. Idea is that I can keep a bespoke keypair for each remote host and call upon the correct key...
Azure JCA Provider Not Being Recognized --
https://api.github.com/repos/apache/mina-sshd/issues/412/comments
3
2023-08-29T17:11:09Z
2023-08-30T14:47:54Z
https://github.com/apache/mina-sshd/issues/412
1,872,081,998
412
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description when we close channelOutputStream and ClientChannel with in few milli seconds delay. some time sending of SSH_MSG_CHANNEL_EOF message goes after sending of SSH_MSG_CHANNEL_CLOSE message. If this happens then server is responding with "SSH_MSG_DISCONNECT reason=SSH2_DISCON...
SSH_MSG_CHANNEL_EOF is sent after SSH_MSG_CHANNEL_CLOSE
https://api.github.com/repos/apache/mina-sshd/issues/410/comments
17
2023-08-28T18:06:36Z
2023-10-26T08:38:25Z
https://github.com/apache/mina-sshd/issues/410
1,870,211,846
410
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description From the [mailing list](https://www.mail-archive.com/users@mina.apache.org/msg07002.html): Attached code causes circa 50 exceptions: ``` public static void main(String[] args) throws Exception { for (int i = 0; i < 100; i++) { SshServer sshd = SshServer.set...
SshServer shutdown on Windows may report exceptions about already shut down ExecutorService
https://api.github.com/repos/apache/mina-sshd/issues/409/comments
2
2023-08-27T14:50:30Z
2023-08-27T18:27:40Z
https://github.com/apache/mina-sshd/issues/409
1,868,523,277
409
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description at **org.apache.sshd.sftp.client.fs.SftpFileSystemProvider#newOutputStream** method, SftpOutputStreamAsync is decorated by FilterOutputStream. the java.io.FilterOutputStream#write(byte[], int, int) method will invoke the org.apache.sshd.sftp.client.impl.SftpOutputStreamAsyn...
sftp upload performance deterioration after update to 2.10.0
https://api.github.com/repos/apache/mina-sshd/issues/407/comments
0
2023-08-26T08:30:20Z
2023-08-26T16:07:48Z
https://github.com/apache/mina-sshd/issues/407
1,867,976,515
407
[ "apache", "mina-sshd" ]
### Description We have an Apache MINA SFTP server that uses a user table to authenticate users. We would like to setup permissions such as LIST (`ls`), DOWNLOAD (`get`), UPLOAD (`put`), and others, where users are only allowed to perform certain actions based on their permissions. We would appreciate any ideas o...
Enabling user level permissions
https://api.github.com/repos/apache/mina-sshd/issues/406/comments
2
2023-08-24T21:40:02Z
2023-08-29T12:20:16Z
https://github.com/apache/mina-sshd/issues/406
1,865,925,332
406
[ "apache", "mina-sshd" ]
Client: WS_FTP 1.26/1.27 Server: SFTP server (mina 2.9.2) Operation: Uploading a file Mina version - 2.9.2 As sftp client tries to upload a file channel is closed as below exception is caught. `2023-08-10 10:16:31 2023-08-10T17:16:31.119Z WARN 337 --- [] [] [] [)-nio2-thread-3] o.a.s.server.session.Serv...
exceptionCaught(ServerSessionImpl[user@/10.x.x.x:23232])[state=Opened] IllegalStateException: Bad length (32796) for cmd=SSH_MSG_CHANNEL_DATA - max. allowed=32768
https://api.github.com/repos/apache/mina-sshd/issues/403/comments
18
2023-08-10T21:50:56Z
2023-08-24T19:40:56Z
https://github.com/apache/mina-sshd/issues/403
1,845,943,811
403
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description After updating the library version to 2.10.0 I couldn't connect to my remote host. I found out that the problem is caused by regression in parsing the ssh config. In 2.9.2 version, in `HostConfigEntry.toHostConfigEntryResolver` the lambda at the end called `normalizeEntry` whic...
Regression in HostConfigEntry parsing
https://api.github.com/repos/apache/mina-sshd/issues/402/comments
1
2023-08-10T09:28:05Z
2023-08-10T10:18:24Z
https://github.com/apache/mina-sshd/issues/402
1,844,783,150
402
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description When using the SCP client to upload a file to a remote location that does not exist a `WindowClosedException` is raised instead of a more user friendly SCP exception detailing the reason of why the upload/download failed. The snippet of code below raises a `WindowClosedExce...
SCP user friendly exceptions
https://api.github.com/repos/apache/mina-sshd/issues/401/comments
4
2023-08-01T15:21:40Z
2023-11-10T16:32:04Z
https://github.com/apache/mina-sshd/issues/401
1,831,519,245
401
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description When passing len = 0 on a second read call, after eofIndicator has already be set to true, the read method returns -1. This can lead to an incomplete read when using e.g. java.io.InputStream#readAllBytes or java.io.InputStream#readNBytes(int). A possible solution would...
SftpInputStreamAsync#read(byte[], int, int) fails on calls with len = 0
https://api.github.com/repos/apache/mina-sshd/issues/398/comments
0
2023-07-19T14:18:12Z
2023-07-22T17:29:33Z
https://github.com/apache/mina-sshd/issues/398
1,812,059,876
398
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description In the previous `2.9.2` version the `RootedFileSystemProvider.resolveLocalPath()` returns a normalized resolved path: ``` Path resolved = root.resolve(subPath); resolved = resolved.normalize(); resolved = resolved.toAbsolutePath(); if (log.i...
The RootedFileSystemProvider.resolveLocalPath() does not return normilized path any more
https://api.github.com/repos/apache/mina-sshd/issues/397/comments
6
2023-07-14T20:31:48Z
2024-08-08T21:40:48Z
https://github.com/apache/mina-sshd/issues/397
1,805,532,971
397
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description 1. channel.open(); // takes time , around 579 milli seconds 2. channel.waitFor(EnumSet.of(ClientChannelEvent.CLOSED), TimeUnit.SECONDS.toMillis(0)); // takes around 287 milli seconds. In our case for a task completion we run ...
Time taking more to open a channel and close a channel.
https://api.github.com/repos/apache/mina-sshd/issues/396/comments
2
2023-07-07T11:32:16Z
2023-07-28T06:53:20Z
https://github.com/apache/mina-sshd/issues/396
1,793,382,371
396
[ "apache", "mina-sshd" ]
Hello, I am trying to setup a SSH configuration with Jumphost. I am configuring my Jumphost userAuth in the Client . my jumphost can accept both password or private key authorization . so I am setting my client.setUserAuthFactories to accept both Public key and password. And my SSH host will only accept p...
Issue in setting User auth factories in ClientSession
https://api.github.com/repos/apache/mina-sshd/issues/393/comments
0
2023-06-29T14:25:38Z
2023-06-29T14:25:38Z
https://github.com/apache/mina-sshd/issues/393
1,780,945,574
393
[ "apache", "mina-sshd" ]
### Version 2.10.0 ### Bug description I'm attempting to scp a file from a Dropbear instance. I don't have permissions to copy the file. Dropbear reports permission denied, but that failure is never reported up to the calling code. ### Actual behavior The ScpHelper class logged this: `receiveNextCmd - ACK...
SCP failed with "Permission denied" and error not reported to user code.
https://api.github.com/repos/apache/mina-sshd/issues/392/comments
3
2023-06-29T13:23:20Z
2024-01-04T18:06:10Z
https://github.com/apache/mina-sshd/issues/392
1,780,813,728
392
[ "apache", "mina-sshd" ]
### Description Hi, Currently all `KnownHostsServerKeyVerifier` constructors accept a `java.nio.file.Path` argument to the `known_hosts` file. I would like to request the addition of an additional constructor which accepts a `java.net.URL` argument, as returned by `java.lang.Class.getResource(String)`, and potentia...
Allow KnownHostsServerKeyVerifier to read from a resource URL
https://api.github.com/repos/apache/mina-sshd/issues/391/comments
1
2023-06-14T04:27:58Z
2023-06-14T09:41:31Z
https://github.com/apache/mina-sshd/issues/391
1,756,031,032
391
[ "apache", "mina-sshd" ]
### Version master ### Bug description 1) fist, the sftp server has tow types of charset file(file name charset:UTF-8、GBK)and all contains Chinese character. 2) the sftp server default LANG is UTF-8,so the file with UTF-8 is OK and the file with GBK is display garbled code 3) because `sftpClient.setNameDecodingCha...
ScpClient with ScpModuleProperties.SCP_OUTGOING_ENCODING.set(sshClient, Charset.forName("GBK")) does not effect
https://api.github.com/repos/apache/mina-sshd/issues/388/comments
0
2023-06-02T02:23:17Z
2023-06-07T05:46:59Z
https://github.com/apache/mina-sshd/issues/388
1,737,357,471
388
[ "apache", "mina-sshd" ]
### Description Implement `ChannelTimeouts` as available in OpenSSH since version 9.2: compare [OpenSSH issue 3484](https://bugzilla.mindrot.org/show_bug.cgi?id=3484) ### Motivation Currently, an Apache MINA sshd server keeps channels open as long as the client doesn't close it and the session is open. Badly behaved...
Implement server-side per-channel idle timeouts as in OpenSSH 9.2
https://api.github.com/repos/apache/mina-sshd/issues/385/comments
0
2023-05-29T11:40:09Z
2023-05-29T11:40:23Z
https://github.com/apache/mina-sshd/issues/385
1,730,612,659
385
[ "apache", "mina-sshd" ]
### Version master ### Bug description The following code fails: ``` SftpFileSystemProvider provider = ...; FileChannel channel = provider.newFileChannel(somePath, StandardOpenOption.READ); FileLock lock = channel.lock(from, to, true); ``` This creates a read-only file channel and tries to obtain a share...
FileChannel.lock() doesn't work for read-only channels from SftpFileSystemProvider.newFileChannel()
https://api.github.com/repos/apache/mina-sshd/issues/384/comments
0
2023-05-29T11:33:40Z
2023-06-05T18:54:46Z
https://github.com/apache/mina-sshd/issues/384
1,730,605,393
384
[ "apache", "mina-sshd" ]
### Version master ### Bug description According to the contract of `FileSystemProvider.newFileChannel()` per its javadoc, the channel is opened read-only if no `OpenOption`s are passed. `SftpFileSystemProvider` opens the channel in read-write mode in this case. ### Actual behavior Channel is opened read-write,...
SftpFileSystemProvider.newFileChannel() uses wrong default mode
https://api.github.com/repos/apache/mina-sshd/issues/383/comments
5
2023-05-29T11:24:23Z
2023-06-05T18:54:45Z
https://github.com/apache/mina-sshd/issues/383
1,730,593,222
383
[ "apache", "mina-sshd" ]
### Description Not sure if this is the right platform to ask, please direct to any other platform if not. Are there any docs/ samples which illustrates how we can pool a predefined number of Client Sessions for use frequently. ### Motivation I have an use-case for the SFTP client where I need to regularly ...
Apache MINA SSHD : Client Session Pooling
https://api.github.com/repos/apache/mina-sshd/issues/380/comments
2
2023-05-25T10:16:56Z
2023-05-26T15:12:03Z
https://github.com/apache/mina-sshd/issues/380
1,725,527,573
380
[ "apache", "mina-sshd" ]
Hello, I have the following scenario and encountered some issues while using mina-sshd for TCP/IP Port Forwarding. I would like to learn if there is a solution available. sshclient (192.168.1.1) -> ssh-jumper (10.10.1.2) -> sshserver (10.10.1.1) -> web service (10.10.1.1 listens on 127.0.0.1) The ssh-jumper is a ...
Handling Encryption and TCP Handshake Timing in TCP/IP Port Forwarding with Mina-sshd for SSH Proxy to Web Service
https://api.github.com/repos/apache/mina-sshd/issues/379/comments
3
2023-05-24T10:09:47Z
2023-05-25T02:19:55Z
https://github.com/apache/mina-sshd/issues/379
1,723,638,593
379
[ "apache", "mina-sshd" ]
### Version 2.10 ### Bug description Hello, we are using sfp client from Latest SSHD Release (2.10) binaries and try to connect to a sFTP server through a SQUID http proxy but it fails with: ``` C:\apache-sshd-2.10.0\apache-sshd-2.10.0\bin>sftp.bat demo@test.rebex.net -w password -J 10.83.51.147:3128 2023-05-1...
sftp client using proxyJump fails with StreamCorruptedException: Incorrect identification (line too long)
https://api.github.com/repos/apache/mina-sshd/issues/376/comments
1
2023-05-19T14:59:12Z
2023-05-19T18:23:01Z
https://github.com/apache/mina-sshd/issues/376
1,717,392,815
376
[ "apache", "mina-sshd" ]
I am using JGIT+Apache sshd ssh as the GIT hosting service, and I am currently encountering an issue. How can I obtain the requested warehouse address in PublicickeyAuthenticator.authenticate.ServerSession? Or is there another way to obtain the warehouse address during authentication? This way, I can easily load the w...
jgit ssh
https://api.github.com/repos/apache/mina-sshd/issues/373/comments
1
2023-05-17T05:36:32Z
2023-05-27T20:38:08Z
https://github.com/apache/mina-sshd/issues/373
1,713,157,132
373
[ "apache", "mina-sshd" ]
### Description I wrote a simple demo The Server code: ```java public static void main(String[] args) throws Exception { SshServer sshd = SshServer.setUpDefaultServer(); KeyPairProvider keyPair = new SimpleGeneratorHostKeyProvider(); sshd.setKeyPairProvider(keyPair); sshd.setPo...
The timeout interval from the client SftpClient cannot be configured on the current server.
https://api.github.com/repos/apache/mina-sshd/issues/371/comments
3
2023-05-16T02:34:28Z
2023-05-29T15:32:26Z
https://github.com/apache/mina-sshd/issues/371
1,711,114,138
371
[ "apache", "mina-sshd" ]
### Version sshd-2.9.2-55-gd4b951a10 ### Bug description `ModifiableFileWatcher` is supposed to detect when a file changes. However, it's possible for a file to change and for `ModifiableFileWatcher` to not detect the change. Consider the following somewhat contrived but not unreasonable scenario: * User publ...
ModifiableFileWatcher should watch for changes in BasicFileAttributes.fileKey()
https://api.github.com/repos/apache/mina-sshd/issues/370/comments
5
2023-05-12T22:17:25Z
2023-05-20T18:43:41Z
https://github.com/apache/mina-sshd/issues/370
1,708,277,433
370
[ "apache", "mina-sshd" ]
The exception caught is: org.apache.sshd.sftp.common.SftpException: Failure org.apache.sshd.sftp.client.impl.AbstractSftpClient.throwStatusException(AbstractSftpClient.java:217) org.apache.sshd.sftp.client.impl.AbstractSftpClient.checkHandleResponse(AbstractSftpClient.java:255) org.apache.sshd.sftp.client.impl.Abst...
Exception occurred while transferring zip file from Linux system to Win10
https://api.github.com/repos/apache/mina-sshd/issues/369/comments
2
2023-05-10T17:24:52Z
2023-05-27T20:38:41Z
https://github.com/apache/mina-sshd/issues/369
1,704,352,614
369
[ "apache", "mina-sshd" ]
### Description I want to use sshd to deploy a sftpserver ,but can't find a example .where I can find a easy demo? ### Motivation for easy use ### Alternatives considered _No response_ ### Additional context _No response_
Can you write a example module ?
https://api.github.com/repos/apache/mina-sshd/issues/365/comments
2
2023-04-29T03:21:30Z
2023-05-02T21:00:15Z
https://github.com/apache/mina-sshd/issues/365
1,689,338,796
365
[ "apache", "mina-sshd" ]
### Version 2.10.0-SNAPSHOT ### Bug description I'm facing problems using LocalAgentFactory when the other side sends a signing request requesting rsa-sha2-256 as signature algorithm. ### Actual behavior It appears the agent responds as if the request was for ssh-rsa even though rsa-sha2-256 was requested. ### Ex...
SSH agent answers rsa-sha2-256 signing request as ssh-rsa
https://api.github.com/repos/apache/mina-sshd/issues/364/comments
1
2023-04-26T13:26:27Z
2023-05-02T06:39:08Z
https://github.com/apache/mina-sshd/issues/364
1,685,033,227
364
[ "apache", "mina-sshd" ]
### Description 1. SFTP ASCII transfer mode is supported in Apache MINA ? 2. What are the SSH File Transfer Protocol versions supported in Apache MINA. ### Motivation 1. SFTP ASCII transfer mode is supported in Apache MINA ? 2. What are the SSH File Transfer Protocol versions supported in Apache MINA. ### A...
queries related to Apache MINA
https://api.github.com/repos/apache/mina-sshd/issues/363/comments
3
2023-04-19T05:25:53Z
2023-06-13T13:18:12Z
https://github.com/apache/mina-sshd/issues/363
1,674,195,135
363
[ "apache", "mina-sshd" ]
### Description Hi, I see that Apache MINA 2.2.x rewrites the SSL/TLS layer to address some flaws that were hard to fix in 2.1.x. Apache Mina SSHD depends on Apache MINA, but the latest released version of Apache Mina SSHD (2.9.2) depends on Apache MINA 2.0.23. So, I'd like to ask if there are plans to release a new...
Apache Mina SSHD adapt to Apache MINA 2.2.x
https://api.github.com/repos/apache/mina-sshd/issues/360/comments
3
2023-04-17T09:38:09Z
2025-04-22T12:48:41Z
https://github.com/apache/mina-sshd/issues/360
1,670,788,008
360
[ "apache", "mina-sshd" ]
### Description Now, our production environment, as a client, may have Cipher WITH 3des AND MAC WITH md5 with the client. We must ensure that the existing functions are available. Therefore, is there any issue help? ### Motivation Support obsolete but in-use algorithm content. ### Alternatives considered _No r...
MINA SSHD ENABLE Cipher WITH 3des AND MAC WITH md5 IN VERSION 2.6.0-SCALA
https://api.github.com/repos/apache/mina-sshd/issues/359/comments
1
2023-04-15T05:34:35Z
2023-04-16T10:24:29Z
https://github.com/apache/mina-sshd/issues/359
1,669,165,462
359
[ "apache", "mina-sshd" ]
### Version 2.5.1 ### Bug description // listFolderStructureBySshd("user", "password", "host", 22, 3, "ls -al ~/.ssh"); public static void listFolderStructureByJsch(String username, String password, String host, int port, String command) throws Exception { Session session = null; Channel...
execute command return null
https://api.github.com/repos/apache/mina-sshd/issues/358/comments
0
2023-04-14T17:50:33Z
2023-04-14T18:28:18Z
https://github.com/apache/mina-sshd/issues/358
1,668,691,499
358
[ "apache", "mina-sshd" ]
### Description I am implementing SFTP server using Apache Mina with NonRootUser so there can be N number of SFTP User which have individual directory each. when I am doing sftp for particular user its not checking Directory permission for SFTP user. its checking for Current user of OS. Example: dbuser SSHSe...
Non Root User Apache Mina SSHD
https://api.github.com/repos/apache/mina-sshd/issues/357/comments
1
2023-04-14T16:47:24Z
2023-05-27T20:37:50Z
https://github.com/apache/mina-sshd/issues/357
1,668,584,987
357
[ "apache", "mina-sshd" ]
### Description Please publish snapshot builds of the current master. The artifacts produced by the Github workflows on a push to the master could just be deployed to https://repository.apache.org/content/repositories/snapshots. The [apache 23 parent pom](https://repo1.maven.org/maven2/org/apache/apache/23/apac...
Provide Snapshot builds of current master
https://api.github.com/repos/apache/mina-sshd/issues/356/comments
6
2023-04-11T21:59:16Z
2023-05-28T15:32:50Z
https://github.com/apache/mina-sshd/issues/356
1,663,277,980
356
[ "apache", "mina-sshd" ]
### Description Does the sftp server implemented by ssh-sftp have a speed-limited function? If so, how should I limit the transmission rate for different users, such as upload rate and download rate. Is there a corresponding case for reference? ### Motivation In order to prevent excessive use of bandwidth, we will s...
transfer rate limiting
https://api.github.com/repos/apache/mina-sshd/issues/355/comments
1
2023-04-11T10:45:48Z
2023-09-18T17:38:40Z
https://github.com/apache/mina-sshd/issues/355
1,662,223,579
355
[ "apache", "mina-sshd" ]
### Version 2.7.0 ### Bug description We are using Apache mina jars v2.7.0 in our application. Our customer on this version, reported the out of memory(OOM) issue with the Apache mina sftp client, and there is a build of 7000 plus threads of sshd-SschClient ***WARNING*** Dump Event "systhrow" (00040000) Detail "j...
OOM error with apache mina client, thousands of threads at sun/misc/Unsafe.park(Native Method)
https://api.github.com/repos/apache/mina-sshd/issues/354/comments
3
2023-04-04T10:35:50Z
2023-05-27T20:49:49Z
https://github.com/apache/mina-sshd/issues/354
1,653,624,136
354
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description I have a `~/.ssh/config` similar to this: ``` Host bastion Hostname 1.2.3.4 User username IdentityFile ~/.ssh/id_rsa Host server1 ProxyJump bastion ``` Commandline ssh client works no problem for calls such as ``` ssh serverUser@server1 ssh bastion...
Invalid port resolved for ProxyJump from ~/.ssh/config
https://api.github.com/repos/apache/mina-sshd/issues/351/comments
3
2023-03-27T22:27:54Z
2025-04-12T13:47:00Z
https://github.com/apache/mina-sshd/issues/351
1,642,913,593
351
[ "apache", "mina-sshd" ]
### Description In SSHD there is parameter MaxStartups 10:30:60 which terminate unathorized connection once its reached 60. does Apache Mina SSHD support similiar type of functionality in Apache Mina SSHD 2.9.2? ### Motivation it will solve DOS attack if any aunthorized user is trying to make connection then it can ...
Does Apache Mina support MaxStartups feature of Standard SSHD
https://api.github.com/repos/apache/mina-sshd/issues/350/comments
2
2023-03-26T14:48:35Z
2023-04-14T16:38:58Z
https://github.com/apache/mina-sshd/issues/350
1,640,941,871
350
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description I try to create a simple SSH Server ``` sshServer.setCommandFactory(new ProcessShellCommandFactory()); sshServer.setShellFactory(new ProcessShellFactory("/bin/sh", "-i", "-l")); ``` But when I try to connect to server by ``` ssh localhost -p <port> -o UserKnownHostsFile=/...
Exception when try to ssh connect to ssh server
https://api.github.com/repos/apache/mina-sshd/issues/348/comments
2
2023-03-25T08:39:12Z
2023-03-25T15:55:30Z
https://github.com/apache/mina-sshd/issues/348
1,640,433,232
348
[ "apache", "mina-sshd" ]
### Description Is there any tutorials about send some special functional keys using sshd? I did not found that. ### Motivation The special keys are normally useful on common ssh programs. ### Alternatives considered _No response_ ### Additional context _No response_
Arrow Key, Ctrl + C Key operation
https://api.github.com/repos/apache/mina-sshd/issues/341/comments
2
2023-03-21T06:15:50Z
2024-09-10T14:17:43Z
https://github.com/apache/mina-sshd/issues/341
1,633,293,602
341
[ "apache", "mina-sshd" ]
I am getting below error while connecting to embedded server using sshclient Server at localhost/127.0.0.1:2222 presented wrong key: Code to create embedded server ```m_sshServer = SshServer.setUpDefaultServer(); m_sshServer.setHost("localhost"); m_sshServer.setPort(m_sftpPort); m_sshSe...
Getting error while connecting to embedded server using sshclient in Authentication
https://api.github.com/repos/apache/mina-sshd/issues/340/comments
5
2023-03-21T05:35:11Z
2023-05-02T21:03:22Z
https://github.com/apache/mina-sshd/issues/340
1,633,262,699
340
[ "apache", "mina-sshd" ]
### Description SshServer server = SshServer.setUpDefaultServer(); ...... server.start(); ..... server.stop(); ...... server.start(); ### Motivation I want to start the SSH server again after stopping, but I can't. ### Alternatives considered _No response_ ### Additional context _No response_
Can not start the server again
https://api.github.com/repos/apache/mina-sshd/issues/339/comments
4
2023-03-20T14:07:18Z
2023-03-25T18:41:40Z
https://github.com/apache/mina-sshd/issues/339
1,632,190,736
339
[ "apache", "mina-sshd" ]
### Description i start a sshd and type ssh(openssh) -L ... ,but i didn't receive "direct-tcpip" from client. ### Motivation I want to know how ssh(openssl) implement local port forward. ### Alternatives considered _No response_ ### Additional context _No response_
direct-tcpip
https://api.github.com/repos/apache/mina-sshd/issues/335/comments
1
2023-03-17T12:11:32Z
2023-03-18T20:01:21Z
https://github.com/apache/mina-sshd/issues/335
1,629,210,167
335
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description ```java //close if (channelShell != null) { channelShell.close(true); channelShell.getInvertedOut().close(); } ``` ```java try { ChannelShell channelShell = clientSession.createShellChannel(); OpenFuture open = channelShell.open(); if (open...
ChannelShell. getInvertedOut() cannot be closed
https://api.github.com/repos/apache/mina-sshd/issues/334/comments
0
2023-03-17T08:10:57Z
2023-03-17T08:13:32Z
https://github.com/apache/mina-sshd/issues/334
1,628,882,922
334
[ "apache", "mina-sshd" ]
### Version 2.9.0 ### Bug description When I execute the command "source ~.bashrc", it doesn't take effect. As shown below, there is an environment variable "ABC" in my bashrc, but I can't output it.k The code is as follows: ```java ClientSession session = client.connect(user, host, port).verify().getSe...
[BUG]The command "source ~/.bashrc" is invalid.
https://api.github.com/repos/apache/mina-sshd/issues/333/comments
3
2023-03-15T14:06:03Z
2023-03-27T02:08:56Z
https://github.com/apache/mina-sshd/issues/333
1,625,599,739
333
[ "apache", "mina-sshd" ]
### Version sshd-sftp 2.9.2 ### Bug description The sftp failed to recursively create a remote directory, but the directory was successfully created! ```java private void createRemoteDirectories(SftpClient sftp, String remoteDir) throws IOException { try { SftpClient.Attributes attrs ...
sftpclient successfully creates a directory, but an exception is thrown. What is the problem
https://api.github.com/repos/apache/mina-sshd/issues/332/comments
1
2023-03-14T02:56:38Z
2023-03-23T08:46:00Z
https://github.com/apache/mina-sshd/issues/332
1,622,635,500
332
[ "apache", "mina-sshd" ]
![3131](https://user-images.githubusercontent.com/54036187/224872906-504a71de-2557-46ac-989d-2d378e7d84ed.PNG) java.lang.IllegalStateException: Channel id=0 not registered because session is being closed: ChannelShell[id=0, recipient=-1]-ClientSessionImpl[root@null] at org.apache.sshd.common.channel.AbstractChanne...
ssh links init fail, throw Exception.Do anyone know what cause it or how to fix it
https://api.github.com/repos/apache/mina-sshd/issues/331/comments
1
2023-03-14T01:48:15Z
2025-01-27T21:52:58Z
https://github.com/apache/mina-sshd/issues/331
1,622,573,135
331
[ "apache", "mina-sshd" ]
The only events I ever get out of it is OPENED and TIMEOUT (OPENED shows up even after I already wait for it once), but the ssh session seems to work fine. My code: ```java ClientChannel shell = session.createShellChannel(); ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); shell.setOut(outputStream); ...
waitFor practically non-functional
https://api.github.com/repos/apache/mina-sshd/issues/330/comments
0
2023-03-07T13:07:19Z
2023-03-07T13:47:08Z
https://github.com/apache/mina-sshd/issues/330
1,613,406,212
330
[ "apache", "mina-sshd" ]
### Description in DefaultSftpClient, the method received test the maximum size of the packet just received with this : `if (length > (8 * SshConstants.SSH_REQUIRED_PAYLOAD_PACKET_LENGTH_SUPPORT)) { throw new StreamCorruptedException("Illogical sftp packet length: " + length); }` U...
DefaultSftpClient : add a property to allow to change the predefined maxLength of packet in method received
https://api.github.com/repos/apache/mina-sshd/issues/329/comments
8
2023-03-07T10:28:47Z
2024-10-05T15:08:56Z
https://github.com/apache/mina-sshd/issues/329
1,613,146,575
329
[ "apache", "mina-sshd" ]
### Version 2.8.0 ### Bug description Using the DefaultSftpClient for transferring some files, i came accross an issue where the sftp client stop responding and do not close for several days. Using a threadDump, i can see that the DefaultSftpClient is waiting indefinitely on the method send. Got a similar is...
DefaultSftpClient can wait indefinitely in method send and init
https://api.github.com/repos/apache/mina-sshd/issues/328/comments
2
2023-03-07T10:17:38Z
2023-10-09T20:16:30Z
https://github.com/apache/mina-sshd/issues/328
1,613,129,134
328
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description We are trying to generate keypair using Ed25519 algorithm. We are using eddsa-0.3.0.jar. We have added the security provider for the same. Security.addProvider(new net.i2p.crypto.eddsa.EdDSASecurityProvider()); Code snippet for key generation keypair = KeyUtils.gener...
Cannot read ed25519 privatekey created using bouncy castle and eddsa-0.3.0.jar
https://api.github.com/repos/apache/mina-sshd/issues/327/comments
1
2023-03-07T06:17:38Z
2023-05-02T21:03:02Z
https://github.com/apache/mina-sshd/issues/327
1,612,801,406
327
[ "apache", "mina-sshd" ]
### Version sshd-sftp 2.9.2 ### Bug description While using a Path on SftpFileSystemProvider: Exceptions thrown in on Files.delete( Path p), when deleting symbolic links. * When deleting a symbolic links to non-existing file. * When deleting a symbolic link to existing directory * When deleting a...
exceptions in SftpFileSystemProvider on Files.delete( Path p)
https://api.github.com/repos/apache/mina-sshd/issues/325/comments
4
2023-03-02T11:29:34Z
2023-03-24T20:52:13Z
https://github.com/apache/mina-sshd/issues/325
1,606,630,120
325
[ "apache", "mina-sshd" ]
### Version sshd-core 2.8 version ### Bug description We have security violation for the following algorithms. diffie-hellman-group-exchange-sha1 diffie-hellman-group1-sha1 gss-gex-sha1-* gss-group1-sha1-* gss-group14-sha1-* rsa1024-sha1 We want to programatically to add the specific alogorithm while start...
How to add KeyExchangeFactories using sshd-core 2.8 version
https://api.github.com/repos/apache/mina-sshd/issues/324/comments
3
2023-03-01T11:27:00Z
2023-05-02T21:02:47Z
https://github.com/apache/mina-sshd/issues/324
1,604,787,098
324
[ "apache", "mina-sshd" ]
### Version 2.9.2 and hitstory version ### Bug description I have read #270 Issue, but it doesn't help me In my project, I use `SshClient` and `ClientChanne`l to create an ssh client connection. After connecting to the server, the connection thread will simply operate the `pwd` command, and then disconnect and te...
Threads like sshd-SshClient[35a0cde2]-nio2-thread-1 lead to memory leak
https://api.github.com/repos/apache/mina-sshd/issues/323/comments
1
2023-03-01T03:55:39Z
2023-03-06T09:32:13Z
https://github.com/apache/mina-sshd/issues/323
1,604,183,616
323
[ "apache", "mina-sshd" ]
### Version 2.9.2 ### Bug description I try to used mina sshd in Android but I have some problems: 1. in LazyDefaultUserHomeFolderHolder, the path is read from System.getProperty("user.home"). But in Android, System.getProperty("user.home") is null. Will this be a problem? 2. in ExceptionUtils, sshd uses class j...
Can mina sshd be used in Android?
https://api.github.com/repos/apache/mina-sshd/issues/322/comments
10
2023-02-20T09:12:28Z
2024-08-09T14:30:41Z
https://github.com/apache/mina-sshd/issues/322
1,591,443,412
322
[ "apache", "mina-sshd" ]
### Version 3.0.0 alpha ### Bug description Please, can you provide an example on how to connect a mina ssh client to a server through a private key authentication? ### Actual behavior Can't create a client witth private key. ### Expected behavior Also in the cli client, missing the option to load the priva...
How to: create sshclient with a private key
https://api.github.com/repos/apache/mina-sshd/issues/321/comments
1
2023-02-20T07:52:35Z
2023-05-02T21:02:31Z
https://github.com/apache/mina-sshd/issues/321
1,591,331,082
321
[ "apache", "mina-sshd" ]
### Description When I set up a bash connection and execute a command, the command echoes are wrapped in characters. an example: cat /proc/version ESC:[?2004l Linux version xxx. ESC[?2004h I have consulted related documents. This is the default bracketed-paste mode enabled after bash5.1. Can sshd disable this ...
bracketed-paste mode
https://api.github.com/repos/apache/mina-sshd/issues/320/comments
2
2023-02-07T07:40:50Z
2023-10-05T05:56:56Z
https://github.com/apache/mina-sshd/issues/320
1,573,831,884
320
[ "apache", "mina-sshd" ]
### Version 2.8.0 ### Bug description We received a report from a Gerrit user at review.opendev.org who could not pull their repositories via SSH. Upon investigating, we could see a consistent error logged for them ```SshChannelNotFoundException: Received SSH_MSG_CHANNEL_WINDOW_ADJUST on unassigned channel 0 (la...
SshChannelNotFoundException: Received SSH_MSG_CHANNEL_WINDOW_ADJUST on unassigned channel 0 (last assigned=null)
https://api.github.com/repos/apache/mina-sshd/issues/319/comments
4
2023-02-07T01:21:13Z
2023-02-14T20:05:17Z
https://github.com/apache/mina-sshd/issues/319
1,573,530,193
319
[ "apache", "mina-sshd" ]
### Description I have a special server running to which the connection is only possible via 2 jump hosts and my configuration for SSH looks like this: ``` bash Host jump1 Hostname jump1.corp Port 22 User nightman LogLevel ...
Support for more than one jump host
https://api.github.com/repos/apache/mina-sshd/issues/318/comments
8
2023-02-06T15:43:50Z
2024-06-02T16:26:47Z
https://github.com/apache/mina-sshd/issues/318
1,572,812,427
318
[ "apache", "mina-sshd" ]
### Version 2.7.0 ### Bug description I notice sometimes sshd use "rsa key" connect remote, log like this ``` "Server at /192.168.218.182:830 presented unverified RSA key: SHA256:3lpuMiEyQ192HpfOAwjv+jhmliKfrG7w2Yl8x4bpfog" ``` and sometimes use "ec key" ``` Server at /192.168.218.182:830 presented unverified...
How do I force the use of "RSA key" to connect to the remote side?
https://api.github.com/repos/apache/mina-sshd/issues/317/comments
1
2023-02-06T07:40:53Z
2023-05-02T21:02:12Z
https://github.com/apache/mina-sshd/issues/317
1,572,075,956
317
[ "apache", "mina-sshd" ]
### Version 2.9.3 ### Bug description While trying to implement a virtual file system for SFTPD, I ran into a condition in which the connection would close but there was nothing in the logs. After 5 hours of trying to configure the logger all I could see is DEBUG messages, but no log of the exception or error. I...
SftpSubsystem eats exceptions
https://api.github.com/repos/apache/mina-sshd/issues/313/comments
2
2023-01-19T00:02:05Z
2023-01-25T21:34:12Z
https://github.com/apache/mina-sshd/issues/313
1,548,300,898
313