[GitHub] [mina-sshd] jieguangzhou commented on issue #333: [BUG]The command "source ~/.bashrc" is invalid.

2023-03-15 Thread via GitHub
jieguangzhou commented on issue #333: URL: https://github.com/apache/mina-sshd/issues/333#issuecomment-1470079206 I'm not sure if I'm using it incorrectly, but what I actually expect is that it can read bashrc and other files by default, just like the behavior of directly executing them

[GitHub] [mina-sshd] artembilan commented on issue #309: Allow for the use of HTTP or SOCKS proxies

2023-02-22 Thread via GitHub
artembilan commented on issue #309: URL: https://github.com/apache/mina-sshd/issues/309#issuecomment-1440214016 Hi here! Any chances to have some sample how to configure `SshClient` for SOCKS forwarding and how to use that feature respectively ? BTW, it looks like you don't

[GitHub] [mina-sshd] hitYunhongXu commented on issue #294: Memory Leak in SftpFileSystemProvider

2023-02-19 Thread via GitHub
hitYunhongXu commented on issue #294: URL: https://github.com/apache/mina-sshd/issues/294#issuecomment-1435935656 hello, how can i get the code without memory leak? it seems that the problem is not fixed in version 2.9.2 -- This is an automated message from the Apache Git Service. To

[GitHub] [mina-sshd] dllhxll opened a new issue, #322: Can mina sshd be used in Android?

2023-02-20 Thread via GitHub
dllhxll opened a new issue, #322: URL: https://github.com/apache/mina-sshd/issues/322 ### 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

[GitHub] [mina-sshd] matzrm opened a new issue, #321: How to: create sshclient with a private key

2023-02-19 Thread via GitHub
matzrm opened a new issue, #321: URL: https://github.com/apache/mina-sshd/issues/321 ### 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?

[GitHub] [mina-sshd] sijskes opened a new issue, #325: exceptions in SftpFileSystemProvider on Files.delete( Path p)

2023-03-02 Thread via GitHub
sijskes opened a new issue, #325: URL: https://github.com/apache/mina-sshd/issues/325 ### Version sshd-sftp 2.9.2 ### Bug description exceptions thrown in on Files.delete( Path p), when deleting symbolic links. * When deleting symbolic links to non-existant

[GitHub] [mina-sshd] sijskes commented on issue #325: exceptions in SftpFileSystemProvider on Files.delete( Path p)

2023-03-02 Thread via GitHub
sijskes commented on issue #325: URL: https://github.com/apache/mina-sshd/issues/325#issuecomment-1451734442 Caused by: java.nio.file.NoSuchFileException: usr/share/icons/ubuntu-mono-light/stock/22/avatar-default.svg at

[GitHub] [mina-sshd] sijskes commented on issue #325: exceptions in SftpFileSystemProvider on Files.delete( Path p)

2023-03-02 Thread via GitHub
sijskes commented on issue #325: URL: https://github.com/apache/mina-sshd/issues/325#issuecomment-1451726932 ``` Caused by: org.apache.sshd.sftp.common.SftpException: No such file at

[GitHub] [mina-sshd] sijskes commented on issue #325: exceptions in SftpFileSystemProvider on Files.delete( Path p)

2023-03-02 Thread via GitHub
sijskes commented on issue #325: URL: https://github.com/apache/mina-sshd/issues/325#issuecomment-1451738325 i can't reproduce the case with the symlink pointing to non-existing file anymore, but i pretty sure there was an exception as well. -- This is an automated message from the

[GitHub] [mina-sshd] AtulParti commented on issue #324: How to add KeyExchangeFactories using sshd-core 2.8 version

2023-03-02 Thread via GitHub
AtulParti commented on issue #324: URL: https://github.com/apache/mina-sshd/issues/324#issuecomment-1452958439 Can you help us to escalate this issue. This is a security violation and we are looking for an urgent help. -- This is an automated message from the Apache Git Service. To

[GitHub] [mina-sshd] pengyue-hw commented on issue #323: Threads like sshd-SshClient[35a0cde2]-nio2-thread-1 lead to memory leak

2023-03-06 Thread via GitHub
pengyue-hw commented on issue #323: URL: https://github.com/apache/mina-sshd/issues/323#issuecomment-1455786270 I tried to close the SSH Client connection normally through `client.stop();` and the corresponding `"sshd-SshClient[35a0cde2]-nio2-thread-1"` thread was also closed normally.

[GitHub] [mina-sshd] pengyue-hw closed issue #323: Threads like sshd-SshClient[35a0cde2]-nio2-thread-1 lead to memory leak

2023-03-06 Thread via GitHub
pengyue-hw closed issue #323: Threads like sshd-SshClient[35a0cde2]-nio2-thread-1 lead to memory leak URL: https://github.com/apache/mina-sshd/issues/323 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to

[GitHub] [mina-sshd] Ingo13F commented on issue #309: Allow for the use of HTTP or SOCKS proxies

2023-02-22 Thread via GitHub
Ingo13F commented on issue #309: URL: https://github.com/apache/mina-sshd/issues/309#issuecomment-1440271645 > Hi here! > > Any chances to have some sample how to configure `SshClient` for SOCKS forwarding and how to use that feature respectively ? > Hello Artem, I'm not

[GitHub] [mina-sshd] artembilan commented on issue #309: Allow for the use of HTTP or SOCKS proxies

2023-02-22 Thread via GitHub
artembilan commented on issue #309: URL: https://github.com/apache/mina-sshd/issues/309#issuecomment-1440284032 Hm, but this [sample](https://github.com/ankitkatiyar91/java-framework-examples/blob/master/java-tunneling/src/main/java/mina/TunnelMina.java) does something on the matter,

[GitHub] [mina-sshd] Ingo13F commented on issue #309: Allow for the use of HTTP or SOCKS proxies

2023-02-22 Thread via GitHub
Ingo13F commented on issue #309: URL: https://github.com/apache/mina-sshd/issues/309#issuecomment-1441326085 Ah, yes as @tomaswolf already pointed out you could write your own code to handle a SOCKS proxy outside of MINA. He suggested an approach which they used in jGit and which

[GitHub] [mina-sshd] david0 commented on issue #309: Allow for the use of HTTP or SOCKS proxies

2023-02-24 Thread via GitHub
david0 commented on issue #309: URL: https://github.com/apache/mina-sshd/issues/309#issuecomment-1444092954 I have had the same struggles and managed to get JGitSshClient working. Here is an minimal example that puts everything together:

[GitHub] [mina-sshd] AtulParti opened a new issue, #324: How to add KeyExchangeFactories using sshd-core 2.8 version

2023-03-01 Thread via GitHub
AtulParti opened a new issue, #324: URL: https://github.com/apache/mina-sshd/issues/324 ### 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

[GitHub] [mina-sshd] lgoldstein commented on issue #322: Can mina sshd be used in Android?

2023-03-01 Thread via GitHub
lgoldstein commented on issue #322: URL: https://github.com/apache/mina-sshd/issues/322#issuecomment-1450625007 We do not have many requests to run SSHD on Android, so we never invested any R on it. That being said, I believe that with a few tweaks (like the one suggested here), it could

[GitHub] [mina-ftpserver] modestzhang opened a new issue, #23: How to configure the parameter sonar.host.url in ftpserver.properties in the compiled ftpserver-core package

2023-03-01 Thread via GitHub
modestzhang opened a new issue, #23: URL: https://github.com/apache/mina-ftpserver/issues/23 How to configure this parameter? Can I delete it? Whether the release package should not contain this ip?

[GitHub] [mina-sshd] AtulParti commented on issue #324: How to add KeyExchangeFactories using sshd-core 2.8 version

2023-03-01 Thread via GitHub
AtulParti commented on issue #324: URL: https://github.com/apache/mina-sshd/issues/324#issuecomment-1451176756 Can you please priorities as this is blocking us. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [mina-sshd] pengyue-hw opened a new issue, #323: Threads like sshd-SshClient[35a0cde2]-nio2-thread-1 lead to memory leak

2023-02-28 Thread via GitHub
pengyue-hw opened a new issue, #323: URL: https://github.com/apache/mina-sshd/issues/323 ### 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

[GitHub] [mina-ftpserver] elecharny commented on issue #25: Apache FTPServer adapt to Apache MINA 2.2.1

2023-04-17 Thread via GitHub
elecharny commented on issue #25: URL: https://github.com/apache/mina-ftpserver/issues/25#issuecomment-1511055722 Hi, that is certainly something to be done... If you want to give it a try... -- This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [mina-ftpserver] 07070529 commented on issue #25: Apache FTPServer adapt to Apache MINA 2.2.1

2023-04-17 Thread via GitHub
07070529 commented on issue #25: URL: https://github.com/apache/mina-ftpserver/issues/25#issuecomment-1511003707 The motivation I raise this issue is that we are using Apache MINA and Apache FTP Server together. Currently, we are using Apache FTP Server version 1.1.3, and we want to use

[GitHub] [mina-ftpserver] 07070529 opened a new issue, #25: Apache FTPServer adapt to Apache MINA 2.2.1

2023-04-17 Thread via GitHub
07070529 opened a new issue, #25: URL: https://github.com/apache/mina-ftpserver/issues/25 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 FTPServer depends on Apache MINA, but the latest released version of Apache

[GitHub] [mina-sshd] 07070529 opened a new issue, #360: Apache Mina SSHD adapt to Apache MINA 2.2.x

2023-04-17 Thread via GitHub
07070529 opened a new issue, #360: URL: https://github.com/apache/mina-sshd/issues/360 ### 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

[GitHub] [mina-sshd] zane-rl closed issue #358: execute command return null

2023-04-14 Thread via GitHub
zane-rl closed issue #358: execute command return null URL: https://github.com/apache/mina-sshd/issues/358 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe,

[GitHub] [mina] elecharny commented on pull request #38: Bump junit from 4.11 to 4.13.1

2023-04-14 Thread via GitHub
elecharny commented on PR #38: URL: https://github.com/apache/mina/pull/38#issuecomment-1509094953 The current version is 4.13.2, so even more recent than the proposed one. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[GitHub] [mina] elecharny closed pull request #38: Bump junit from 4.11 to 4.13.1

2023-04-14 Thread via GitHub
elecharny closed pull request #38: Bump junit from 4.11 to 4.13.1 URL: https://github.com/apache/mina/pull/38 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe,

[GitHub] [mina] dependabot[bot] commented on pull request #38: Bump junit from 4.11 to 4.13.1

2023-04-14 Thread via GitHub
dependabot[bot] commented on PR #38: URL: https://github.com/apache/mina/pull/38#issuecomment-1509094513 OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me

[GitHub] [mina-sshd] dependabot[bot] opened a new pull request, #361: Bump spring-core from 5.3.26 to 5.3.27

2023-04-17 Thread via GitHub
dependabot[bot] opened a new pull request, #361: URL: https://github.com/apache/mina-sshd/pull/361 Bumps [spring-core](https://github.com/spring-projects/spring-framework) from 5.3.26 to 5.3.27. Release notes Sourced from

[GitHub] [mina-asyncweb] dependabot[bot] opened a new pull request, #10: Bump spring-core from 2.0.8 to 5.2.24.RELEASE

2023-04-17 Thread via GitHub
dependabot[bot] opened a new pull request, #10: URL: https://github.com/apache/mina-asyncweb/pull/10 Bumps [spring-core](https://github.com/spring-projects/spring-framework) from 2.0.8 to 5.2.24.RELEASE. Release notes Sourced from

[GitHub] [mina-asyncweb] dependabot[bot] commented on pull request #9: Bump spring-core from 2.0.8 to 5.2.23.RELEASE

2023-04-17 Thread via GitHub
dependabot[bot] commented on PR #9: URL: https://github.com/apache/mina-asyncweb/pull/9#issuecomment-1511795623 Superseded by #10. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific

[GitHub] [mina-asyncweb] dependabot[bot] closed pull request #9: Bump spring-core from 2.0.8 to 5.2.23.RELEASE

2023-04-17 Thread via GitHub
dependabot[bot] closed pull request #9: Bump spring-core from 2.0.8 to 5.2.23.RELEASE URL: https://github.com/apache/mina-asyncweb/pull/9 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [mina-sshd] leild opened a new issue, #359: MINA SSHD ENABLE Cipher WITH 3des AND MAC WITH md5 IN VERSION 2.6.0-SCALA

2023-04-14 Thread via GitHub
leild opened a new issue, #359: URL: https://github.com/apache/mina-sshd/issues/359 ### 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

[GitHub] [mina-sshd] tomaswolf merged pull request #361: Bump spring-core from 5.3.26 to 5.3.27

2023-04-18 Thread via GitHub
tomaswolf merged PR #361: URL: https://github.com/apache/mina-sshd/pull/361 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [mina-sshd] tomaswolf commented on pull request #343: Simplify maven-bundle-plugin configuration

2023-04-18 Thread via GitHub
tomaswolf commented on PR #343: URL: https://github.com/apache/mina-sshd/pull/343#issuecomment-1513635500 > Is there any remaining issue/PR to look at ? @gnodet: none except your own #362, which I think should also go in that release. (But it has to pass the CI build first. Looks

[GitHub] [mina-sshd] akrattan opened a new issue, #363: queries related to Apache MINA

2023-04-18 Thread via GitHub
akrattan opened a new issue, #363: URL: https://github.com/apache/mina-sshd/issues/363 ### 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.

[GitHub] [mina-sshd] tomaswolf commented on issue #363: queries related to Apache MINA

2023-04-18 Thread via GitHub
tomaswolf commented on issue #363: URL: https://github.com/apache/mina-sshd/issues/363#issuecomment-1514168365 1. No. It also exists only since SFTP v4 (SSH_FXF_TEXT_MODE attribute). See also https://stackoverflow.com/a/33504576 . 2. See

[GitHub] [mina-sshd] lgoldstein commented on a diff in pull request #362: Fix rooted filesystem

2023-04-20 Thread via GitHub
lgoldstein commented on code in PR #362: URL: https://github.com/apache/mina-sshd/pull/362#discussion_r1172872427 ## sshd-common/src/main/java/org/apache/sshd/common/util/io/IoUtils.java: ## @@ -637,4 +677,75 @@ public static List readAllLines(BufferedReader reader, int

[GitHub] [mina-sshd] HannesWell commented on pull request #343: Simplify maven-bundle-plugin configuration

2023-04-20 Thread via GitHub
HannesWell commented on PR #343: URL: https://github.com/apache/mina-sshd/pull/343#issuecomment-1516653451 > > @gnodet, would you be available beginning of May to do a new release? > > I'll try to do that next week. Is there any remaining issue/PR to look at ? Thanks! --

[GitHub] [mina-sshd] lgoldstein commented on a diff in pull request #362: Fix rooted filesystem

2023-04-20 Thread via GitHub
lgoldstein commented on code in PR #362: URL: https://github.com/apache/mina-sshd/pull/362#discussion_r1172862559 ## sshd-common/src/main/java/org/apache/sshd/common/file/root/RootedDirectoryStream.java: ## @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software Foundation

[GitHub] [mina-sshd] lgoldstein commented on a diff in pull request #362: Fix rooted filesystem

2023-04-20 Thread via GitHub
lgoldstein commented on code in PR #362: URL: https://github.com/apache/mina-sshd/pull/362#discussion_r1172873194 ## sshd-common/src/main/java/org/apache/sshd/common/util/io/IoUtils.java: ## @@ -637,4 +677,75 @@ public static List readAllLines(BufferedReader reader, int

[GitHub] [mina-sshd] tomaswolf commented on pull request #362: Fix rooted filesystem

2023-04-20 Thread via GitHub
tomaswolf commented on PR #362: URL: https://github.com/apache/mina-sshd/pull/362#issuecomment-1516999345 It would be extremely helpful to have meaningful commit messages. Just "More unix like" is _not_ helpful. If someone looks at this code a few months or years from now he or she will

[GitHub] [mina-ftpserver] 07070529 commented on issue #25: Apache FTPServer adapt to Apache MINA 2.2.x

2023-04-19 Thread via GitHub
07070529 commented on issue #25: URL: https://github.com/apache/mina-ftpserver/issues/25#issuecomment-1514515071 Thank you for your encouragement. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to

[GitHub] [mina-sshd] tomaswolf commented on a diff in pull request #362: Fix rooted filesystem

2023-04-22 Thread via GitHub
tomaswolf commented on code in PR #362: URL: https://github.com/apache/mina-sshd/pull/362#discussion_r1174415617 ## sshd-common/src/test/java/org/apache/sshd/common/file/root/RootedFileSystemProviderTest.java: ## @@ -20,60 +20,118 @@ package org.apache.sshd.common.file.root;

[GitHub] [mina] elecharny commented on pull request #35: [DIRMINA-1169] Fix unbinding a serverSocketChannel

2023-04-26 Thread via GitHub
elecharny commented on PR #35: URL: https://github.com/apache/mina/pull/35#issuecomment-1523035898 Will check that for 2.1 and 2.2 this week. Sorry for the delay... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [mina] chrjohn commented on pull request #35: [DIRMINA-1169] Fix unbinding a serverSocketChannel

2023-04-26 Thread via GitHub
chrjohn commented on PR #35: URL: https://github.com/apache/mina/pull/35#issuecomment-1523040118 No problem at all. :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To

[GitHub] [mina-sshd] jpn-e opened a new issue, #364: SSH agent answers rsa-sha2-256 signing request as ssh-rsa

2023-04-26 Thread via GitHub
jpn-e opened a new issue, #364: URL: https://github.com/apache/mina-sshd/issues/364 ### 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.

[GitHub] [mina-sshd] gnodet commented on pull request #343: Simplify maven-bundle-plugin configuration

2023-04-18 Thread via GitHub
gnodet commented on PR #343: URL: https://github.com/apache/mina-sshd/pull/343#issuecomment-1512923050 > I had seen that question in the other PR; was getting around to it :-) > > We have no release plan; we release whenever we feel it's needed and our release manager has the time to

[GitHub] [mina-ftpserver] 07070529 commented on issue #25: Apache FTPServer adapt to Apache MINA 2.2.x

2023-04-18 Thread via GitHub
07070529 commented on issue #25: URL: https://github.com/apache/mina-ftpserver/issues/25#issuecomment-1512927848 Thank you for your reply and suggestions. I'd like to contribute to the open source community, but I'm just starting to learn Java. So, sorry, maybe I'm not able to support

[GitHub] [mina-sshd] gnodet opened a new pull request, #362: Fix rooted filesystem

2023-04-18 Thread via GitHub
gnodet opened a new pull request, #362: URL: https://github.com/apache/mina-sshd/pull/362 - More unix like - Symlinks improvements -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [mina-ftpserver] elecharny commented on issue #25: Apache FTPServer adapt to Apache MINA 2.2.x

2023-04-18 Thread via GitHub
elecharny commented on issue #25: URL: https://github.com/apache/mina-ftpserver/issues/25#issuecomment-1513131157 I understand :-) OTOH, it can be funny and a good learning experience for someone starting to learn Java! And remember we all were beginners at some point in the past, so

[GitHub] [mina-sshd] chenss-1 commented on issue #365: Can you write a example module ?

2023-04-28 Thread via GitHub
chenss-1 commented on issue #365: URL: https://github.com/apache/mina-sshd/issues/365#issuecomment-1528647804 I test a success demo ` private SshServer sshd; private final static Logger logger = LoggerFactory.getLogger(SftpServer.class); public void start() {

[GitHub] [mina-sshd] chenss-1 opened a new issue, #365: Can you write a example module ?

2023-04-28 Thread via GitHub
chenss-1 opened a new issue, #365: URL: https://github.com/apache/mina-sshd/issues/365 ### 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

[GitHub] [mina] elecharny merged pull request #29: GitHub actions

2023-04-29 Thread via GitHub
elecharny merged PR #29: URL: https://github.com/apache/mina/pull/29 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

[GitHub] [mina] elecharny merged pull request #32: Bump libthrift from 0.9.0 to 0.14.0 in /thrift

2023-04-29 Thread via GitHub
elecharny merged PR #32: URL: https://github.com/apache/mina/pull/32 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

[GitHub] [mina] elecharny merged pull request #36: Bump protobuf-java from 2.5.0 to 3.16.3 in /protobuf

2023-04-29 Thread via GitHub
elecharny merged PR #36: URL: https://github.com/apache/mina/pull/36 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

[GitHub] [mina] elecharny merged pull request #34: workaround for Reproducible Builds

2023-04-29 Thread via GitHub
elecharny merged PR #34: URL: https://github.com/apache/mina/pull/34 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

[GitHub] [mina] elecharny merged pull request #26: DIRMINA-1122 - added support for endpoint identification algorithm

2023-04-29 Thread via GitHub
elecharny merged PR #26: URL: https://github.com/apache/mina/pull/26 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

[GitHub] [mina-sshd] tomaswolf commented on issue #364: SSH agent answers rsa-sha2-256 signing request as ssh-rsa

2023-05-01 Thread via GitHub
tomaswolf commented on issue #364: URL: https://github.com/apache/mina-sshd/issues/364#issuecomment-1530141261 > I expected the opposite needs to be done in `AbstractAgentClient` Indeed. Thanks for reporting this problem! -- This is an automated message from the Apache Git Service.

[GitHub] [mina-sshd] tomaswolf opened a new pull request, #366: GH-364: Use flags for RSA signature requests in AbstractAgentClient

2023-05-01 Thread via GitHub
tomaswolf opened a new pull request, #366: URL: https://github.com/apache/mina-sshd/pull/366 Respect the flags in OpenSSH signing requests. These flags tell what kind of signature should be produced for an RSA key: ssh-rsa, rsa-sha2-256, or rsa-sha2-512. Previous code code only set

[GitHub] [mina-sshd] tomaswolf merged pull request #366: GH-364: Use flags for RSA signature requests in AbstractAgentClient

2023-05-02 Thread via GitHub
tomaswolf merged PR #366: URL: https://github.com/apache/mina-sshd/pull/366 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [mina-sshd] tomaswolf closed issue #364: SSH agent answers rsa-sha2-256 signing request as ssh-rsa

2023-05-02 Thread via GitHub
tomaswolf closed issue #364: SSH agent answers rsa-sha2-256 signing request as ssh-rsa URL: https://github.com/apache/mina-sshd/issues/364 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [mina-sshd] gnodet commented on pull request #362: [SSHD-1324] Rooted file system can leak informations

2023-05-02 Thread via GitHub
gnodet commented on PR #362: URL: https://github.com/apache/mina-sshd/pull/362#issuecomment-1531465871 @tomaswolf I plan to squash the commits into a single commit -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [mina-sshd] leild commented on issue #359: MINA SSHD ENABLE Cipher WITH 3des AND MAC WITH md5 IN VERSION 2.6.0-SCALA

2023-04-16 Thread via GitHub
leild commented on issue #359: URL: https://github.com/apache/mina-sshd/issues/359#issuecomment-1510271464 sshClient.setKeyExchangeFactories(NamedFactory.setUpTransformedFactories( false, BuiltinDHFactories.VALUES,

[GitHub] [mina-sshd] leild commented on issue #359: MINA SSHD ENABLE Cipher WITH 3des AND MAC WITH md5 IN VERSION 2.6.0-SCALA

2023-04-16 Thread via GitHub
leild commented on issue #359: URL: https://github.com/apache/mina-sshd/issues/359#issuecomment-1510271929 The problem has been resolved. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to

[GitHub] [mina-sshd] leild closed issue #359: MINA SSHD ENABLE Cipher WITH 3des AND MAC WITH md5 IN VERSION 2.6.0-SCALA

2023-04-16 Thread via GitHub
leild closed issue #359: MINA SSHD ENABLE Cipher WITH 3des AND MAC WITH md5 IN VERSION 2.6.0-SCALA URL: https://github.com/apache/mina-sshd/issues/359 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go

[GitHub] [mina-sshd] dbhakar closed issue #350: Does Apache Mina support MaxStartups feature of Standard SSHD

2023-04-14 Thread via GitHub
dbhakar closed issue #350: Does Apache Mina support MaxStartups feature of Standard SSHD URL: https://github.com/apache/mina-sshd/issues/350 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [mina-sshd] dbhakar commented on issue #350: Does Apache Mina support MaxStartups feature of Standard SSHD

2023-04-14 Thread via GitHub
dbhakar commented on issue #350: URL: https://github.com/apache/mina-sshd/issues/350#issuecomment-1508935305 ok thanks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To

[GitHub] [mina-sshd] dbhakar opened a new issue, #357: Non Root User Apache Mina SSHD

2023-04-14 Thread via GitHub
dbhakar opened a new issue, #357: URL: https://github.com/apache/mina-sshd/issues/357 ### 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

[GitHub] [mina] dependabot[bot] opened a new pull request, #38: Bump junit from 4.11 to 4.13.1

2023-04-14 Thread via GitHub
dependabot[bot] opened a new pull request, #38: URL: https://github.com/apache/mina/pull/38 Bumps [junit](https://github.com/junit-team/junit4) from 4.11 to 4.13.1. Release notes Sourced from https://github.com/junit-team/junit4/releases;>junit's releases. JUnit 4.13.1

[GitHub] [mina-sshd] zane-rl opened a new issue, #358: execute command return null

2023-04-14 Thread via GitHub
zane-rl opened a new issue, #358: URL: https://github.com/apache/mina-sshd/issues/358 ### Version 2.5.1 ### Bug description ` // listFolderStructureBySshd("user", "password", "host", 22, 3, "ls -al ~/.ssh"); public static void listFolderStructureByJsch(String

[GitHub] [mina-sshd] lgoldstein commented on a diff in pull request #362: Fix rooted filesystem

2023-04-23 Thread via GitHub
lgoldstein commented on code in PR #362: URL: https://github.com/apache/mina-sshd/pull/362#discussion_r1174607919 ## sshd-common/src/main/java/org/apache/sshd/common/util/io/IoUtils.java: ## @@ -637,4 +677,75 @@ public static List readAllLines(BufferedReader reader, int

[GitHub] [mina-sshd] pyckle commented on a diff in pull request #362: Fix rooted filesystem

2023-04-23 Thread via GitHub
pyckle commented on code in PR #362: URL: https://github.com/apache/mina-sshd/pull/362#discussion_r1174578418 ## sshd-common/src/main/java/org/apache/sshd/common/util/io/IoUtils.java: ## @@ -637,4 +677,75 @@ public static List readAllLines(BufferedReader reader, int

[GitHub] [mina-sshd] lgoldstein commented on a diff in pull request #362: Fix rooted filesystem

2023-04-22 Thread via GitHub
lgoldstein commented on code in PR #362: URL: https://github.com/apache/mina-sshd/pull/362#discussion_r1174440169 ## sshd-common/src/test/java/org/apache/sshd/common/file/root/RootedFileSystemProviderTest.java: ## @@ -20,60 +20,118 @@ package org.apache.sshd.common.file.root;

[GitHub] [mina-sshd] pyckle commented on a diff in pull request #362: Fix rooted filesystem

2023-04-23 Thread via GitHub
pyckle commented on code in PR #362: URL: https://github.com/apache/mina-sshd/pull/362#discussion_r1174612833 ## sshd-common/src/main/java/org/apache/sshd/common/util/io/IoUtils.java: ## @@ -637,4 +677,75 @@ public static List readAllLines(BufferedReader reader, int

[GitHub] [mina-sshd] pyckle commented on pull request #362: Fix rooted filesystem

2023-04-23 Thread via GitHub
pyckle commented on PR #362: URL: https://github.com/apache/mina-sshd/pull/362#issuecomment-1519110747 I made the suggested changes here: https://github.com/gnodet/mina-sshd/pull/2/files -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [mina-sshd] pyckle commented on a diff in pull request #362: Fix rooted filesystem

2023-04-23 Thread via GitHub
pyckle commented on code in PR #362: URL: https://github.com/apache/mina-sshd/pull/362#discussion_r1174612833 ## sshd-common/src/main/java/org/apache/sshd/common/util/io/IoUtils.java: ## @@ -637,4 +677,75 @@ public static List readAllLines(BufferedReader reader, int

[GitHub] [mina-sshd] tomaswolf commented on issue #281: SshClient.connect() does not respect username parameter when a default is specified in ssh/config

2023-03-30 Thread via GitHub
tomaswolf commented on issue #281: URL: https://github.com/apache/mina-sshd/issues/281#issuecomment-1489796107 This is all correct, and is the reason why [JGit uses its own SSH config

[GitHub] [mina-sshd] frothga commented on issue #281: SshClient.connect() does not respect username parameter when a default is specified in ssh/config

2023-03-30 Thread via GitHub
frothga commented on issue #281: URL: https://github.com/apache/mina-sshd/issues/281#issuecomment-1490364236 Thanks for the links! openSSH bug 3490 seems to indicate that they don't use any attributes of the destination host for jump hosts. So I'd guess the same rules apply for

[GitHub] [mina-sshd] tomaswolf opened a new pull request, #352: Support reading OpenSSH private keys with AEAD encryption

2023-03-31 Thread via GitHub
tomaswolf opened a new pull request, #352: URL: https://github.com/apache/mina-sshd/pull/352 OpenSSH supports three AEAD algorithms for encrypting private keys: aes128-gcm, aes256-gcm, and chacha20-poly1305. For these encryptions the file format is a bit special: the MAC is just dumped

[GitHub] [mina-sshd] tomaswolf commented on pull request #343: Simplify maven-bundle-plugin configuration

2023-04-03 Thread via GitHub
tomaswolf commented on PR #343: URL: https://github.com/apache/mina-sshd/pull/343#issuecomment-1494858998 I've created [JGit issue 581770](https://bugs.eclipse.org/bugs/show_bug.cgi?id=581770) to track the JGit update. -- This is an automated message from the Apache Git Service. To

[GitHub] [mina-sshd] frothga opened a new pull request, #353: Follow first-match semantics specified for ssh config file

2023-04-03 Thread via GitHub
frothga opened a new pull request, #353: URL: https://github.com/apache/mina-sshd/pull/353 This change tries to bring config file processing more in line with the semantics indicated in the ssh man page. The most significant changes are that each attribute is drawn from the first matching

[GitHub] [mina-sshd] tomaswolf merged pull request #352: Support reading OpenSSH private keys with AEAD encryption

2023-04-01 Thread via GitHub
tomaswolf merged PR #352: URL: https://github.com/apache/mina-sshd/pull/352 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [mina-sshd] tomaswolf commented on issue #354: OOM error with apache mina client, thousands of threads at sun/misc/Unsafe.park(Native Method)

2023-04-04 Thread via GitHub
tomaswolf commented on issue #354: URL: https://github.com/apache/mina-sshd/issues/354#issuecomment-1496564870 A private sharepoint link doesn't help. But anyway: there have been fixes since 2.7.0 that should have resolved some of these issues. Try with 2.9.2 or with current master. --

[GitHub] [mina-sshd] frothga commented on pull request #353: Follow first-match semantics specified for ssh config file

2023-04-04 Thread via GitHub
frothga commented on PR #353: URL: https://github.com/apache/mina-sshd/pull/353#issuecomment-1496627880 Thanks for checking this! I think the right thing to do here is to adjust the test case so that it tests for correct behavior. IE: that provided parameters override config

[GitHub] [mina-sshd] tomaswolf commented on pull request #353: Follow first-match semantics specified for ssh config file

2023-04-04 Thread via GitHub
tomaswolf commented on PR #353: URL: https://github.com/apache/mina-sshd/pull/353#issuecomment-1496557284 `testNegatedHostEntriesResolution` is also failing in CI, and also locally for me. It sets up configs as ``` Host !127.0.0.1 Hostname 127.0.0.1 User

[GitHub] [mina-sshd] tomaswolf commented on issue #350: Does Apache Mina support MaxStartups feature of Standard SSHD

2023-04-04 Thread via GitHub
tomaswolf commented on issue #350: URL: https://github.com/apache/mina-sshd/issues/350#issuecomment-1496576326 It's not implemented in Apache MINA sshd, but I suppose it should be possible to implement this via a `SessionListener`. The basic idea (I didn't try this, though) would be to

[GitHub] [mina-sshd] tomaswolf commented on pull request #353: Follow first-match semantics specified for ssh config file

2023-04-08 Thread via GitHub
tomaswolf commented on PR #353: URL: https://github.com/apache/mina-sshd/pull/353#issuecomment-1500941382 Squashed, added some tests. This whole area could still use more clean-up as you've already noticed, but for now I think it's OK. -- This is an automated message from the

[GitHub] [mina-sshd] tomaswolf closed issue #322: Can mina sshd be used in Android?

2023-04-08 Thread via GitHub
tomaswolf closed issue #322: Can mina sshd be used in Android? URL: https://github.com/apache/mina-sshd/issues/322 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To

[GitHub] [mina-sshd] tomaswolf commented on issue #351: Invalid port resolved for ProxyJump from ~/.ssh/config

2023-04-09 Thread via GitHub
tomaswolf commented on issue #351: URL: https://github.com/apache/mina-sshd/issues/351#issuecomment-1501167594 This was fixed by PR #353 done for issue #281. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [mina-sshd] tomaswolf closed issue #351: Invalid port resolved for ProxyJump from ~/.ssh/config

2023-04-09 Thread via GitHub
tomaswolf closed issue #351: Invalid port resolved for ProxyJump from ~/.ssh/config URL: https://github.com/apache/mina-sshd/issues/351 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific

[GitHub] [mina-sshd] tomaswolf merged pull request #353: Follow first-match semantics specified for ssh config file

2023-04-09 Thread via GitHub
tomaswolf merged PR #353: URL: https://github.com/apache/mina-sshd/pull/353 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [mina-sshd] tomaswolf closed issue #281: SshClient.connect() does not respect username parameter when a default is specified in ssh/config

2023-04-09 Thread via GitHub
tomaswolf closed issue #281: SshClient.connect() does not respect username parameter when a default is specified in ssh/config URL: https://github.com/apache/mina-sshd/issues/281 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

[GitHub] [mina-sshd] tomaswolf commented on issue #317: How do I force the use of "RSA key" to connect to the remote side?

2023-04-09 Thread via GitHub
tomaswolf commented on issue #317: URL: https://github.com/apache/mina-sshd/issues/317#issuecomment-1501175912 If you're trying to configure an OpenSSH server: its config file is normally `/etc/ssh/sshd_config`. If it's an Apache MINA sshd server, set it in whatever config file it

[GitHub] [mina-sshd] tomaswolf commented on issue #294: Memory Leak in SftpFileSystemProvider

2023-04-10 Thread via GitHub
tomaswolf commented on issue #294: URL: https://github.com/apache/mina-sshd/issues/294#issuecomment-1501666956 I cannot reproduce this. Can you show fully working test code using a thread pool (I presume from an ExecutorService) that downloads a number of files and where at the end, when

[GitHub] [mina-sshd] leocoder0 opened a new issue, #355: transfer rate limiting

2023-04-11 Thread via GitHub
leocoder0 opened a new issue, #355: URL: https://github.com/apache/mina-sshd/issues/355 ### 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

[GitHub] [mina-sshd] HannesWell commented on pull request #343: Simplify maven-bundle-plugin configuration

2023-04-11 Thread via GitHub
HannesWell commented on PR #343: URL: https://github.com/apache/mina-sshd/pull/343#issuecomment-1503632583 > @gnodet, would you be available beginning of May to do a new release? @gnodet can you already say if a release is possible then? -- This is an automated message from the

[GitHub] [mina-sshd] HannesWell opened a new issue, #356: Provide Snapshot builds of current master

2023-04-11 Thread via GitHub
HannesWell opened a new issue, #356: URL: https://github.com/apache/mina-sshd/issues/356 ### 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

[GitHub] [mina-sshd] frothga commented on pull request #353: Follow first-match semantics specified for ssh config file

2023-04-04 Thread via GitHub
frothga commented on PR #353: URL: https://github.com/apache/mina-sshd/pull/353#issuecomment-1496729038 OK, I pushed the change for testNegatedHostEntriesResolution. It seems to fix the test on my system. However, I'm still getting an error from testUpdateSameHost2PortsStdFirstDiffKeys. It

<    1   2   3   4   5   6   7   8   9   10   >