[ANNOUNCE] Apache MINA SSHD 2.12.0 released

2024-01-18 Thread Guillaume Nodet
always announce their support for strict key exchange. On behalf of the Maven Mina PMC team, Guillaume Nodet - To unsubscribe, e-mail: users-unsubscr...@mina.apache.org For additional commands, e-mail: users-h...@mina.apache.org

Re: Implementing a 'filesystem' module in MINA to bridge with an Apache commons-net FTPClient

2023-12-08 Thread Guillaume Nodet
ut it seems like MINA only really uses a few > methods from it anyway. > > > Thank you > Will > -- Guillaume Nodet

[ANNOUNCE] Apache MINA SSHD 2.11.0 released

2023-10-20 Thread Guillaume Nodet
uleProperties`. On behalf of the Apache MINA project, Guillaume Nodet

[ANNOUNCE] Apache MINA SSHD 2.9.3 released

2023-10-20 Thread Guillaume Nodet
: * CVE-2023-35887 / SSHD-1324 Rooted file system can leak informations * Fix reproducible builds issue * Support building with Maven 3.9.x On behalf of the Apache MINA project, Guillaume Nodet

CVE-2023-35887: Apache MINA SSHD: Information disclosure bugs with RootedFilesystem

2023-07-07 Thread Guillaume Nodet
Affected versions: - Apache MINA SSHD 1.0 before 2.10 Description: Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Software Foundation Apache MINA. In SFTP servers implemented using Apache MINA SSHD that use a RootedFileSystem, logged users may be able to

Re: symbolicy links errors

2023-03-02 Thread Guillaume Nodet
mon > > - > To unsubscribe, e-mail: users-unsubscr...@mina.apache.org > For additional commands, e-mail: users-h...@mina.apache.org > > -- Guillaume Nodet

CVE-2021-30129: DoS/OOM leak vulnerability in Apache Mina SSHD Server

2021-07-12 Thread Guillaume Nodet
Description: A vulnerability in sshd-core of Apache Mina SSHD allows an attacker to overflow the server causing an OutOfMemory error. This issue affects the SFTP and port forwarding features of Apache Mina SSHD version 2.0.0 and later versions. It was addressed in Apache Mina SSHD 2.7.0

Re: [ANNOUNCE] Apache SSHD 2.7.0 released

2021-05-31 Thread Guillaume Nodet
Mina SSHD supports SSH2 and there's no plan to support SSH1. Cheers Guillaume Nodet P.S.: Please do not cross-post to several lists... Le lun. 31 mai 2021 à 11:32, Vishnu Priya a écrit : > Does this support SSH version 1 and version 2 both? > > Regards, > Vishnupriya > > O

[ANNOUNCE] Apache SSHD 2.7.0 released

2021-05-31 Thread Guillaume Nodet
utions are available from the Apache Software Foundation distribution mirrors http://mina.apache.org/sshd-project/downloads.html and from maven central. On behalf of the Apache Mina team, Guillaume Nodet

Re: DirectoryScanner and have connection with sftpclient still I am getting base dir doesn’t exist error.

2020-09-22 Thread Guillaume Nodet
how can I get dir list using DirectoryScanner > with Sftpclient. > -- > Thanks & Regards, > Netram Sahu > +91 9653330834 > -- Guillaume Nodet

Re: Reminde: How to use ls command with SftpClient Apache library

2020-09-21 Thread Guillaume Nodet
On Mon, Sep 21, 2020 at 11:44 AM Guillaume Nodet > wrote: > >> You'll find an example of using the Sftp Client API in the following test: >> >> >> https://github.com/apache/mina-sshd/blob/master/sshd-sftp/src/test/java/org/apache/sshd/sftp/client/SftpTransferTest.

Re: Reminde: How to use ls command with SftpClient Apache library

2020-09-21 Thread Guillaume Nodet
A >> wrote: >> >>> I am passing this url from application and based on these url want to >>> Remove Text.txt file. >>> >>> dir/dir1*/Test.txt, >>> dir/dir1?/Test.txt >>> >>> How can I do it with Sftpfilesyatem, >>> >&

[ANNOUNCE] Apache SSHD 2.5.1 released

2020-07-01 Thread Guillaume Nodet
wse/SSHD-1022>] - NPE in SftpOutputStreamAsync.flush() The distributions are available from the Apache Software Foundation distribution mirrors http://mina.apache.org/sshd-project/downloads.html and from maven central. On behalf of the Apache Mina team, Guillaume Nodet

[ANNOUNCE] Apache SSHD 2.5.0 released

2020-06-22 Thread Guillaume Nodet
ct SftpVersionSelector when establishing a new connection The distributions are available from the Apache Software Foundation distribution mirrors http://mina.apache.org/sshd-project/downloads.html and from maven central. On behalf of the Apache Mina team, Guillaume Nodet

Re: Mina Sshd, JGit, RSA Passphrases

2020-01-07 Thread Guillaume Nodet
ps://github.com/apache/mina-sshd/tree/master/docs An entry is clearly missing for agent support... Guillaume > > > -David > > > - > To unsubscribe, e-mail: users-unsubscr...@mina.apache.org > For additional commands, e-mail: users-h...@mina.apache.org > > -- Guillaume Nodet

[ANNOUNCE] Apache SSHD 2.1.0 released

2018-10-02 Thread Guillaume Nodet
ch - so future releases should no longer suffer from this problem. We recommend all users to upgrade to this release - we consider this a stable and production ready release. On behalf of the Apache Mina team, Guillaume Nodet

Re: Different root and initial directories for SFTP

2018-05-25 Thread Guillaume Nodet
login, but I have no idea how to do that on the SSHD server. > > Hopefully that helps describe what I’m trying to do. > > > > On May 24, 2018, at 8:56 AM, Guillaume Nodet <gno...@apache.org> wrote: > > > > Have you tried setting home dirs for your users on the > VirtualF

Re: Different root and initial directories for SFTP

2018-05-24 Thread Guillaume Nodet
oot” directory > (i.e. / ) when they login. This makes is really hard for me to simulate > navigating the virtual filesystem in my tests because the paths are > different. > > Any ideas/suggestions would be greatly appreciated!! > > Quinn Stevenson > > > -- Guillaume Nodet

[ANN] Apache Mina SSHD 1.7.0 Released

2018-01-23 Thread Guillaume Nodet
=12310849=Create_token=A5KQ-2QAV-T4JA-FDED%7C47f5fd1e799680219ff14477b5b2c29ce7aaf6fd%7Clin Cheers, Guillaume Nodet

Re: SSHD session init issue? (msg order)

2017-11-05 Thread Guillaume Nodet
Mlynsk%C3%A9+Nivy+48+/+821+09+Bratislava+/+Slovakia=gmail=g> > > +421 2 209 101 41 / mmarsa...@frinx.io > <2%20209%20101%2041%20/%20mmarsa...@frinx.io> / *www.frinx.io > <http://www.frinx.io>* > > > > [image: cid:image001.jpg@01D26688.DDA92180] > > > -- Guillaume Nodet

Re: How to configure ChannelShell correctly? (Part 2)

2017-06-29 Thread Guillaume Nodet
null and I did not check again later. > Is that the right way to do it? Should I call getIn() later to obtain an > InputStream? What is "inverted out" for? > Thanks,Nick > -- Guillaume Nodet

Re: Regarding the SSHD 1.5.0 Release ETA

2017-05-19 Thread Guillaume Nodet
igsaw mess gets resolved somehow ;) > > > > You mean, 2027 ? > > > > -- > > Emmanuel Lecharny > > > > Symas.com > > directory.apache.org > > > > > -- Guillaume Nodet

Re: Is there a maven snapshot reporitory for this projet

2016-11-28 Thread Guillaume Nodet
3.x. > > > > > > -- > > > > Emmanuel Lecharny > > > > Symas.com > > directory.apache.org > > > > > > > -- > I like: Like Like - The likeliest place on the web > <http://like-like.xenei.com> > LinkedIn: http://www.linkedin.com/in/claudewarren > -- Guillaume Nodet Red Hat, Open Source Integration Email: gno...@redhat.com Web: http://fusesource.com Blog: http://gnodet.blogspot.com/

Re: SSHD client - is it possible to reuse a session?

2016-11-17 Thread Guillaume Nodet
is a bug, > a misconfiguraiton on my part, > or patently not possible. > > Any assistance would be appreciated. > > Claude Warren > -- > I like: Like Like - The likeliest place on the web > <http://like-like.xenei.com> > LinkedIn: http://www.linkedin.com/in/claudewarren > -- Guillaume Nodet Red Hat, Open Source Integration Email: gno...@redhat.com Web: http://fusesource.com Blog: http://gnodet.blogspot.com/

Re: SshClient#start call multiple times

2016-03-20 Thread Guillaume Nodet
ndler/ssh/client/AsyncSshHandler.java#l89 > < > https://github.com/opendaylight/netconf/blob/master/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandler.java#l89 > > -- Guillaume Nodet ---

Re: Extending sshd to support streaming files from a file repository

2015-12-18 Thread Guillaume Nodet
I'm not sure to understand. You want your client to use the SSH / SFTP protocol to connect to the server, and then, the server would call a web service to actually query the file system over the web service, right ? If you don't want your client to directly use the custom FileSystemProvider, and

Re: Is there an easy way to parse an OpenSSH RSA/DSA/ECDSA pub/priv keypair?

2015-11-02 Thread Guillaume Nodet
hU3lHemqVMAAACAFVAaT56J7KnM2FGD4ghQ5+dduM3mzRrokac7oEt9gz18n0yK5bBRMUq4evEwsRyqEH8lipdvF416ggK/I5U5ww2XwsfqqJ8mAPuGpC49cIQzuCWDi1WMG0OA91t/bTD4yEt0DA/7Vqo+PVFbxzVbAZtoGMa/0trjvIgxRJfLOss= > jonathan.fisher@apollo > > > On Mon, Nov 2, 2015 at 10:20 AM, Guillaume Nodet <gno...@apache.org> > wrote: > > >

Re: Is there an easy way to parse an OpenSSH RSA/DSA/ECDSA pub/priv keypair?

2015-11-02 Thread Guillaume Nodet
ache.org/sshd-project/downloads.html > > > > Just noticed this is not showing a changelog or a download link for 1.0. > I > > saw v1.0 in Nexus, but since it wasn't listed as a release I figured it > was > > a fluke. > > > > On Sun, Nov 1, 2015 at 2:50 A

Re: Apache SSHD and Apache MINA integration

2015-11-02 Thread Guillaume Nodet
It may be easier for you to go to a lower level though. SshClient client = SshClient.setUpDefaultClient(); ClientSession session = new ClientSessionImpl(client, new MinaSession(null, ioSession)); session.setUsername(...); ... I suppose your code snippet should work too, though you'd have to call

Re: Sftp client - large directory listing

2015-11-02 Thread Guillaume Nodet
You need to call readDir(h) multiple times until it returns null which signifies that the whole directory has been read. 2015-10-15 20:20 GMT+02:00 Gabriel Kapitany : > Hi all, > > > > I’m using the SSH client library and trying to list a remote directory > containing

Re: SFTP - Strange Heap Behaviour under load

2015-11-01 Thread Guillaume Nodet
Yes, please reproduce the error and take a memory dump somehow, and raise a JIRA issue and attach the dump to it. 2015-10-27 8:17 GMT+01:00 Stefan Magnus Landrø : > Have you performed a heap dump and tried analyzing it with eclipse mat ( > https://eclipse.org/mat/) or

Re: Is there an easy way to parse an OpenSSH RSA/DSA/ECDSA pub/priv keypair?

2015-11-01 Thread Guillaume Nodet
n Sat, Oct 31, 2015 at 9:12 AM, Jonathan S. Fisher < > jonat...@springventuregroup.com> wrote: > > > > > > https://mina.apache.org/sshd-project/apidocs/org/apache/sshd/common/util/SecurityUtils.html > > > > Can you point me to that method in the docs? I'm not seeing

Re: Is there an easy way to parse an OpenSSH RSA/DSA/ECDSA pub/priv keypair?

2015-10-30 Thread Guillaume Nodet
You can try with SecurityUtils.loadKeyPairIdentity 2015-10-30 17:36 GMT+01:00 Jonathan S. Fisher < jonat...@springventuregroup.com>: > Hey guys, > > I've been pouring through examples and source code, and I cannot figure out > how to do this. I have a pair of Strings that is the contents of a

Re: Extending SFTP Subsystem to push to HDFS

2015-09-17 Thread Guillaume Nodet
SSHD 1.0 uses the standard NIO2 FileSystem api. For hadoop, see https://issues.apache.org/jira/browse/HADOOP-3518 and there's a link to an implementation at https://github.com/damiencarol/jsr203-hadoop So simply registering the provider should work with SFTP. 2015-09-17 10:29 GMT+02:00 Olivier

Re: [sshd][client]How to detect command completion?

2015-06-12 Thread Guillaume Nodet
way to do so. Guillaume Nodet 2015-06-12 8:36 GMT+02:00 Satya Deep Maheshwari connus...@gmail.com: Hi I am using ClientChannel to invoke commands on a remote machine via ssh. I am sending remote commands by writing on the NoCloseInputStream associated with this channel and the output

Re: sshd-sftp hasn't been released since version 0.11

2015-05-09 Thread Guillaume Nodet
The problem is that this module has never been fully completed and given the lack of work on it and duplication with the embedded version of sftp support, it has not been released for some time. It has even been deleted from the master branch for 1.x. If anyone is willing to support it, this

Re: Idle SSHD sessions still managed

2015-05-07 Thread Guillaume Nodet
This should work. The idle timeout will close the ssh session which should in turn close the ioSession, and that session should be removed from the list of managed sessions. However, this happens slightly asynchronously, as the idle timeout will trigger the write of the disconnect message and the

Re: Equivalent of BlacklistFilter for SSHD

2015-05-07 Thread Guillaume Nodet
You could try to implement your own derived class of org.apache.sshd.server.session.SessionFactory and throw an exception if the connection is to be blacklisted. However, looking at the code, I think you're right, as any exception will not result in the session to be unmanaged, at least in the

Re: [ANN] SSHD 0.14.0 released

2015-03-16 Thread Guillaume Nodet
Thx, it should be fixed now. 2015-03-16 10:18 GMT+01:00 Stefan Mueller stefan.muel...@menten.com: 1) Link to binary file is wrong on all servers: Example link from website: http://mirror.synyx.de/apache/mina/sshd/0.14.0/dist/apache-sshd-0.14.0.zip Path on server:

[ANN] SSHD 0.14.0 released

2015-03-10 Thread Guillaume Nodet
used for SSH_FXP_OPEN flags ** Test * [SSHD-396] - Fixed SftpTest#testOpen to work correctly on Windows ** Wish * [SSHD-405] - Please review AbstractClientChannel @deprecated getter methods Guillaume Nodet

Re: SSHD Server subsystem supporting parameters?

2015-02-10 Thread Guillaume Nodet
No that's not supported. I think the correct way would be for the client to send arguments through the streams that are used to communicate with the subsystem. 2015-02-10 22:50 GMT+01:00 Wen, Bo b...@ciena.com: Hi, Is there a way for SSHD server subsystem to support extra parameters? For

Re: SSHd restrict failed login attempts

2015-01-13 Thread Guillaume Nodet
can ask the session if the current authentication attempt is the last allowed request? … just trying to avoid having to track this in my code. Simon On 13 Jan 2015, at 11:52, Guillaume Nodet gno...@apache.org wrote: 2015-01-13 12:00 GMT+01:00 Simon Temple simon.tem...@amalto.com: I

Re: [Apache SSHD] list command problem for directories containing broken filelinks

2014-11-22 Thread Guillaume Nodet
not stumbled upon that will address this issue? Tom -- --- Guillaume Nodet Red Hat, Open Source Integration Email: gno...@redhat.com Web: http://fusesource.com Blog: http://gnodet.blogspot.com/

Re: [mina-sshd] How to do `ssh -D` port forwarding with the SshClient

2014-11-17 Thread Guillaume Nodet
I've tried your setup using mina sshd, a native ssh client (ssh -Nn -D 1080 -p 8000 admin@localhost) and firefox with socks5 and it seems to work well, all http requests being routed through the ssh server. However, the socks protocol is not supported using mina sshd as a client (hence the use of

Re: [mina-sshd] How to do `ssh -D` port forwarding with the SshClient

2014-11-17 Thread Guillaume Nodet
I played with socks a bit today and came up with this initial implementation: https://github.com/gnodet/mina-sshd/commit/3807bcf07655e7759ba08b42896f62708a4970c5 2014-11-17 11:30 GMT+01:00 Guillaume Nodet gno...@apache.org: I've tried your setup using mina sshd, a native ssh client (ssh -Nn

Re: How to set max count connections in sshd service.

2014-11-10 Thread Guillaume Nodet
Currently, we only have a max concurrent session per user, not a global one. It can be configured using: server.setProperty(ServerFactoryManager.MAX_CONCURRENT_SESSIONS, 1) to only accept a single session for each user. Unfortunately, there's no way to configure a global maximum number of

Re: OpenSSH integration

2014-11-10 Thread Guillaume Nodet
If you look at the main SshClient code, you'll see the main() method will do exactly that: https://github.com/apache/mina-sshd/blob/master/sshd-core/src/main/java/org/apache/sshd/SshClient.java#L443 2014-10-30 22:04 GMT+01:00 Rob Vesse rve...@dotnetrdf.org: Hey All Is anyone integrating SSHD

Re: ClientSession.authPassword(user, pwd) documentation required

2014-11-10 Thread Guillaume Nodet
authentication mechanism using client.addPasswordIdentity(xx); client.auth().verify(); which will be easier from a user point of view, as you won't have to deal with password/interactive stuff. Cheers, Guillaume Nodet 2014-10-27 10:18 GMT+01:00 Sapna Bhargava sapnabhargava...@gmail.com: Hi All

Re: SSHD Example

2014-10-16 Thread Guillaume Nodet
If you want more than simple unit tests, you can have a look at karaf for example: https://github.com/apache/karaf/blob/master/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/Activator.java#L127 2014-10-16 20:17 GMT+02:00 Robert Middleton osfan6...@gmail.com: Does anybody have a working

Re: SSHD Problems with SFTP

2014-09-26 Thread Guillaume Nodet
Ok, i understand now. Please raise a JIRA issue. I think there are a few things to review around that. 2014-09-26 15:56 GMT+02:00 Stefan Mueller stefan.muel...@menten.com: It did work. So the method isWritable() has to be called in truncate() as it is already done in other methods. And

Re: ChannelExec API Help required

2014-09-25 Thread Guillaume Nodet
You have 3 ways to use a client channel now: * direct : using setIn(), setOut() and setErr() before opening the channel https://github.com/apache/mina-sshd/blob/master/sshd-core/src/test/java/org/apache/sshd/ClientTest.java#L282 * inverted: using getInvertedIn(), getInvertedOut() and

Re: Problem Using SFTP Client

2014-09-22 Thread Guillaume Nodet
Would you mind raising a JIRA for that ? This is a bug, as the the Closeeable interface specifies If the stream is already closed then invoking this method has no effect. Cheers, Guillaume 2014-09-22 4:18 GMT+02:00 George Sexton geor...@mhsoftware.com: On 9/20/2014 1:43 AM, Guillaume Nodet

Re: SSHD SshClient - should I reuse the same instance for multiple independent sessions?

2014-08-25 Thread Guillaume Nodet
appreciate any feedback on it. Regards, -matt -Original Message- From: Guillaume Nodet [mailto:gno...@apache.org] Sent: Sunday, August 24, 2014 8:11 AM To: users@mina.apache.org Subject: Re: SSHD SshClient - should I reuse the same instance for multiple independent sessions? I think

Re: Checking if ssh session is connected

2014-08-05 Thread Guillaume Nodet
2014-08-05 12:58 GMT+02:00 Jorge Jordão jrjor...@yahoo.com.invalid: Hi, I am upgrading some code from sshd-core version 0.9.0 to 0.12.0. There's this method using clientSession.getState().equals(Session.State.Running) for determining whether the session is still active. I believe one

Re: sshd client streams

2014-07-21 Thread Guillaume Nodet
If you want to read the output or error streams, you can use getInvertedOut() and getInvertedErr() instead of using setOut() and setErr(). This will give you a blocking InputStream on the command output. 2014-07-21 11:41 GMT+02:00 Davide Gesino davideges...@gmail.com: I am developing a Command

Re: Security Question

2014-07-21 Thread Guillaume Nodet
It should be safe as all execution of code are forbidden for users. 2014-07-21 17:21 GMT+02:00 Haripada Bhowmick haripada.bhowm...@gmail.com: Team, I want to setup Apache SSHD Server in my Linux box . Few of my clients will be using SSH Tunnel using my Linux BOX. My aim is to ENABLE

Re: SSHD Problems with SFTP

2014-07-07 Thread Guillaume Nodet
not be an issue. Guillaume Nodet 2014-07-07 12:33 GMT+02:00 Stefan Mueller stefan.muel...@menten.com: I have two problems with SFTP that I can not chase down. I hope you can help me by looking at the server log, because I could not get a simple working example yet. The first problem is a big one

Re: SSHD Server Settings

2014-06-30 Thread Guillaume Nodet
There's no integration between FtpServer and Sshd, so you can't reuse the user manager in SSHD. SSHD supports max-concurrent-sessions (max number of sshd connections per username) and idle-timeout settings though. IP filtering may be implemented using a SessionListener. The other ones would have

Re: sshd - async interface

2014-06-30 Thread Guillaume Nodet
the amount of changes that required in my simple case to use this interface and currently it is much too large, so I will not be able to actually use it in the near future. Thanks! Alon On Fri, Jun 6, 2014 at 9:48 AM, Guillaume Nodet gno...@apache.org wrote: I've enhanced SSHD to be able to provide

Re: Trouble with SFTP resume upload

2014-06-14 Thread Guillaume Nodet
Good catch ! Could you please raise a JIRA for this issue ? I think your proposal is correct. 2014-06-14 2:49 GMT+02:00 Michael Benovich m...@hostedftp.com: Hi, I very recently began using SSHD to run my own SFTP server. I am running version 0.11.0 and I am having trouble resuming uploads

Re: sshd - async interface

2014-06-06 Thread Guillaume Nodet
/apache/mina-sshd/blob/master/sshd-core/src/test/java/org/apache/sshd/util/AsyncEchoShellFactory.java I would appreciate any input ... 2014-04-20 0:33 GMT+02:00 Alon Bar-Lev alon.bar...@gmail.com: On Sun, Apr 20, 2014 at 1:19 AM, Guillaume Nodet gno...@apache.org wrote: 2014-04-19 20:43 GMT+02

Re: Load issue in apache SSHD when using ChannelDirectTcpip

2014-05-16 Thread Guillaume Nodet
The second problem is entirely caused by the way you send and read the data (and consequently by the fact that the server echoes the incoming data). The SSH protocol uses windows for flow-control, so when the remote window is full, the client or server will stop sending more data. To work around

Re: Load issue in apache SSHD when using ChannelDirectTcpip

2014-05-12 Thread Guillaume Nodet
space. That's because your client side does not consume the input stream until after having written all the data. So that needs to be changed in some way in your code. Cheers, Guillaume Nodet 2014-05-12 8:25 GMT+02:00 Maheedhar maheedha...@in.fiorano.com: server.java http://apache-mina.10907

Re: apache-sshd-0.11.0

2014-05-04 Thread Guillaume Nodet
The vote has been closed and the release published. I've updated the website ( http://svn.apache.org/viewvc?view=revisionrevision=r1589029), not sure why it does not show the latest content though. 2014-05-04 1:35 GMT+02:00 Emmanuel Lécharny elecha...@gmail.com: Le 5/3/14 11:56 PM, Alon

Re: sshd - running interactive scripts

2014-04-29 Thread Guillaume Nodet
I just tried your script using the following command: ssh localhost sh /Users/gnodet/work/tmp/myscript.sh and I don't see the prompt either, so it may be the read command bypassing the prompt when the input stream is not the console. You could try the following: #!/bin/sh echo Welcome echo -n

Re: Data on stdin does not get transferred - stdout+stderr work fine

2014-04-21 Thread Guillaume Nodet
, and not even one character makes it through. 2014-04-20 0:43 GMT-07:00 Guillaume Nodet gno...@apache.org: The getInvertedIn() output stream is buffered. If you want to actually send a small amount of data, you need to call flush() after writing to the stream. Happy Easter, Guillaume

Re: Data on stdin does not get transferred - stdout+stderr work fine

2014-04-21 Thread Guillaume Nodet
I did. Feel free to add any comment. Le lundi 21 avril 2014, Matthew DeVore matv...@gmail.com a écrit : Did you already raise one? I saw this: https://issues.apache.org/jira/browse/SSHD-312 2014-04-20 23:25 GMT-07:00 Guillaume Nodet gno...@apache.orgjavascript:; : Sure, that's a good

Re: sshd - async interface

2014-04-19 Thread Guillaume Nodet
The asynchronous interface is an interesting idea. Though I'm not sure the using selectors is the best and I'd rather try to change the input/output streams ChannelInput/OutputStream so that ClientChannel returns AsynchronousByteChannel instead. I think we need both sync and async interfaces for

Re: sshd - async interface

2014-04-19 Thread Guillaume Nodet
2014-04-19 20:43 GMT+02:00 Alon Bar-Lev alon.bar...@gmail.com: On Sat, Apr 19, 2014 at 9:15 PM, Guillaume Nodet gno...@apache.org wrote: Sshd internally uses nio2 by default, which is not based on selectors, but non blocking operations. On the client part of SSHD, things are mostly

Re: SSHD exception when client tries to reconnect

2014-03-13 Thread Guillaume Nodet
Not sure which client you're using, but afaik, authentication can only done once for a connection. Also, try with the latest 0.10.1 sshd release. 2014-03-13 11:09 GMT+01:00 SiriSenthilRaam - sirisenthilr...@gmail.com: My ssh client tries to communicate with SSHD and it works fine for a while.

Re: apache-sshd releases

2014-03-05 Thread Guillaume Nodet
2014-03-05 18:53 GMT+01:00 Emmanuel Lécharny elecha...@gmail.com: Le 3/5/14 6:44 PM, Alon Bar-Lev a écrit : Hi, I want to ask regarding the release sequence. At site I see latest is 0.9.0[1]. This is the latest release. At maven central I see 0.10.0[2]. this is a tag not a

Re: apache-sshd releases

2014-03-05 Thread Guillaume Nodet
2014-03-05 23:19 GMT+01:00 Emmanuel Lécharny elecha...@gmail.com: Le 3/5/14 10:13 PM, Guillaume Nodet a écrit : 2014-03-05 18:53 GMT+01:00 Emmanuel Lécharny elecha...@gmail.com: Can the site[1] be modified with latest? It's already up to date. Not really actually. The 0.10.0 has

Re: How to configure AWS S3 as filesystem in Apache SSHD

2014-02-10 Thread Guillaume Nodet
From an SSHD point of view, file access entry point is done by implementing the org.apache.sshd.common.file.FileSystemFactory. From a S3 perspective, amazon provides a java client API. There are a few points you'll have to choose: * authentication : how to provide the s3 keys * buckets :

Re: Remote Port Forwarding

2014-02-10 Thread Guillaume Nodet
You need to register a TcpipForwardingFilter on your client too, so that it can accept to connect. The same class can be used on both sides. client.setTcpipForwardingFilter(new ForwardingFilter() { ... }); 2014-02-07 1:34 GMT+01:00 Kevin Day ke...@trumpetinc.com: I'm trying to use mina sshd

Re: Integration of SSHD

2013-12-04 Thread Guillaume Nodet
You can use any SSH client from a unix distribution, or cygwin / putty on Windows. 2013/12/4 Maheedhar maheedha...@in.fiorano.com I finished implementation and integration of SSHd into our environment.As of now we have both the client and server implementations and they communicate just

Re: SSHD: Restrict SFTP directory

2013-11-28 Thread Guillaume Nodet
they are willing to share? Thanks. ~Joseph -- --- Guillaume Nodet Red Hat, Open Source Integration Email: gno...@redhat.com Web: http://fusesource.com Blog: http://gnodet.blogspot.com/

Re: Integration of SSHD

2013-11-28 Thread Guillaume Nodet
: http://apache-mina.10907.n7.nabble.com/Integration-of-SSHD-tp39824.html Sent from the Apache MINA User Forum mailing list archive at Nabble.com. -- --- Guillaume Nodet Red Hat, Open Source Integration Email: gno...@redhat.com Web: http

Re: Publickey of PublickeyAuthenticator class (MINA SSHD)

2013-11-28 Thread Guillaume Nodet
~ -- View this message in context: http://apache-mina.10907.n7.nabble.com/Publickey-of-PublickeyAuthenticator-class-MINA-SSHD-tp39746.html Sent from the Apache MINA User Forum mailing list archive at Nabble.com. -- --- Guillaume Nodet Red Hat, Open Source

Re: Socket input to SSHD?

2013-08-29 Thread Guillaume Nodet
of binding to a host:port ? -David -- --- Guillaume Nodet Red Hat, Open Source Integration Email: gno...@redhat.com Web: http://fusesource.com Blog: http://gnodet.blogspot.com/

Re: [Apache SSHD] Default value for max-concurrent-sessions

2013-08-01 Thread Guillaume Nodet
for max-concurrent-sessions? -- --- Guillaume Nodet Red Hat, Open Source Integration Email: gno...@redhat.com Web: http://fusesource.com Blog: http://gnodet.blogspot.com/

Re: ssh honey pot - tamper with commands

2013-01-24 Thread Guillaume Nodet
. Cheers, -- Ioan Eugen Stan -- Guillaume Nodet Blog: http://gnodet.blogspot.com/ FuseSource, Integration everywhere http://fusesource.com

Re: ssh honey pot - tamper with commands

2013-01-24 Thread Guillaume Nodet
-implementing the commands and command completers and leverage the native shells command completing capabilities. Is this ok? By the way, you did incredible work on SSHD and jline. Cheers, -- Ioan Eugen Stan / CTO / http://axemblr.com -- Guillaume Nodet

Re: [Apache SSHD] Authentication change between 0.6.0 and 0.8.0?

2012-12-13 Thread Guillaume Nodet
logged in as root when they attempt to connect to the server. -- Guillaume Nodet Blog: http://gnodet.blogspot.com/ FuseSource, Integration everywhere http://fusesource.com

Re: [Apache SSHD] Authentication change between 0.6.0 and 0.8.0?

2012-12-13 Thread Guillaume Nodet
); } return false; } }); - UserManager is a modified version of Apache FtpServer's properties user manager. -Original Message- From: Guillaume Nodet [mailto:gno...@gmail.com] Sent: Thursday, December 13, 2012 11:33 AM To: users

Re: [Apache SSHD] Authentication change between 0.6.0 and 0.8.0?

2012-12-13 Thread Guillaume Nodet
configuration. It also shows the same behavior. -Original Message- From: Guillaume Nodet [mailto:gno...@gmail.com] Sent: Thursday, December 13, 2012 12:32 PM To: users Subject: Re: [Apache SSHD] Authentication change between 0.6.0 and 0.8.0? Maybe this change ? https://github.com

Re: SSHD server treats CTrl+C ?

2012-10-29 Thread Guillaume Nodet
. Adrian -- Guillaume Nodet Blog: http://gnodet.blogspot.com/ FuseSource, Integration everywhere http://fusesource.com

Re: SSHD support readline as MINA

2012-10-17 Thread Guillaume Nodet
by lots of projects beyond karaf. Regards, Tai -- Guillaume Nodet Blog: http://gnodet.blogspot.com/ FuseSource, Integration everywhere http://fusesource.com

Re: Fwd: How to execute sftp client using apache ssh client

2012-10-03 Thread Guillaume Nodet
-- View this message in context: http://old.nabble.com/Fwd%3A-How-to-execute-sftp-client-using-apache-ssh-client-tp33188326p34509344.html Sent from the Apache MINA User Forum mailing list archive at Nabble.com. -- Guillaume Nodet Blog: http

Re: SSHD: Client TCP/IP Forwarding Questions

2012-09-28 Thread Guillaume Nodet
to the code? Thanks again for the quick responses. The more I look into the well-organized code from this project, and the more I see your willingness to help out users, the happier I am getting about choosing SSHD for my project. Kevin -- Guillaume Nodet

Re: SSHD: Client TCP/IP Forwarding Questions

2012-09-27 Thread Guillaume Nodet
Winchester -- Guillaume Nodet Blog: http://gnodet.blogspot.com/ FuseSource, Integration everywhere http://fusesource.com

Re: Problem in Apache SSHD when making remote calls

2012-09-27 Thread Guillaume Nodet
connection is dropped -- Guillaume Nodet Blog: http://gnodet.blogspot.com/ FuseSource, Integration everywhere http://fusesource.com

Re: Is Apache SSHD considered beta software?

2012-09-25 Thread Guillaume Nodet
fertile to invent my own list :-) Think shared team vision and goals... -John -- Guillaume Nodet Blog: http://gnodet.blogspot.com/ FuseSource, Integration everywhere http://fusesource.com

Re: Is Apache SSHD considered beta software?

2012-09-24 Thread Guillaume Nodet
Is there any particular feature missing for you ? On Mon, Sep 24, 2012 at 9:29 PM, Wright, Omari omari.wri...@solers.comwrote: Any ETA on when it will be feature complete? -Original Message- From: Guillaume Nodet [mailto:gno...@gmail.com] Sent: Friday, September 21, 2012 9:06 AM

Re: Is Apache SSHD considered beta software?

2012-09-24 Thread Guillaume Nodet
. -Original Message- From: Guillaume Nodet [mailto:gno...@gmail.com] Sent: Monday, September 24, 2012 5:17 PM To: users@mina.apache.org Subject: Re: Is Apache SSHD considered beta software? Is there any particular feature missing for you ? On Mon, Sep 24, 2012 at 9:29 PM, Wright

Re: SSHD: stopping active shell sessions

2012-09-12 Thread Guillaume Nodet
to the isexited function? Keep up the good work though, it's a great server! So easy to use. Thanks again. Maarten 2012/9/3 Guillaume Nodet gno...@gmail.com It should not be necessary. Closing the server should close all sessions and shells. I suppose you're using the latest 0.7.0 version

Re: how to display messages at client terminal

2012-09-11 Thread Guillaume Nodet
On Fri, Sep 7, 2012 at 6:36 PM, Guillaume Nodet gno...@gmail.com wrote: You should look for informations on keyboard-interactive authentication in SSH. I think that's exactly what you want. I suppose you'll need to implement your own UserAuth implementation. I think messages can be sent

Re: how to display messages at client terminal

2012-09-07 Thread Guillaume Nodet
at 7:09 PM, Guillaume Nodet gno...@gmail.com wrote: There is the SSH_MSG_DEBUG message though which is logged by the client/server upon reception. On Fri, Aug 31, 2012 at 3:42 PM, Kanupriya Dadariya kanupriya.dadar...@gmail.com wrote: Hi, I am using Apache Mina sshd

Re: how to display messages at client terminal

2012-09-06 Thread Guillaume Nodet
PM, Kanupriya Dadariya kanupriya.dadar...@gmail.com wrote: Thanks for the response . Will check with this. On Tue, Sep 4, 2012 at 7:09 PM, Guillaume Nodet gno...@gmail.com wrote: There is the SSH_MSG_DEBUG message though which is logged by the client/server upon reception

Re: how to display messages at client terminal

2012-09-04 Thread Guillaume Nodet
(); future.addListener(iof); if(future.isWritten()){ writeStatus = true; } else { writeStatus = false; } future.removeListener(iof); = Appreciate any help . -- Guillaume Nodet

Re: SSHD: stopping active shell sessions

2012-09-03 Thread Guillaume Nodet
work. So my question is, when the server is stopped, how can I get access to each active shell outputstream so I can send the 'exit' command? Thanks! Maarten -- Guillaume Nodet Blog: http://gnodet.blogspot.com

  1   2   >