Re: SFTP - Strange Heap Behaviour under load

2015-10-27 Thread Stefan Magnus Landrø
Have you performed a heap dump and tried analyzing it with eclipse mat ( https://eclipse.org/mat/) or similar? You could add a jvm flag to have it dump memory when oom-ing ( http://www.oracle.com/technetwork/java/javase/clopts-139448.html)? Stefan 2015-10-27 8:04 GMT+01:00 Olivier Girardot

Re: Custom FileSystemFactory and RMDIR

2015-11-05 Thread Stefan Magnus Landrø
cca...@gmail.com>: > I'm using sshd-sftp 0.11.0 and sshd-core-0.11.0 since those are the > versions I found on the maven repository > > 2015-11-05 11:12 GMT+00:00 Stefan Magnus Landrø <stefan.lan...@gmail.com>: > > > You'ree using sshd 1.0, right? > > > > 201

Re: Custom FileSystemFactory and RMDIR

2015-11-05 Thread Stefan Magnus Landrø
plement an SFTP server with > that version ? > > All the documentation and references I found on the apache site refers to > version 0.14.0 (https://mina.apache.org/sshd-project/downloads.html) > > Thanks a lot, > Massimiliano > > 2015-11-05 11:29 GMT+00:00 Stefan Magnus Landrø

Re: Custom FileSystemFactory and RMDIR

2015-11-05 Thread Stefan Magnus Landrø
You'ree using sshd 1.0, right? 2015-11-05 11:49 GMT+01:00 Massimiliano Ziccardi < massimiliano.zicca...@gmail.com>: > Hello everybody! > > For a project we are developing I'm using your SFTP server implementation > and I needed to implement a custom FileSystemFactory. > > I ended in developing :

SSHD

2015-07-08 Thread Stefan Magnus Landrø
Hi there, I'm currently implementing an sftp server based on mina-sshd. I see there is lots of action going on in the repo, and quite a few commits since the last release. Would it make sense for me to build from master instead of using the 0.14.0 version? Any clues on when the 1.0 version will

Re: Apache MINA SFTP server - "no matching host key type found"

2015-11-13 Thread Stefan Magnus Landrø
You ought to update to version 1.0 before moving on. Stefan 2015-11-13 11:11 GMT+01:00 Richard Bradley : > Hi, > > I'm hoping to set up a SFTP server in Java using Apache MINA. > > It seems to start OK, but when I try to connect to it with an OpenSSH > client, I

SCP - Rooted file system not honoured

2016-06-27 Thread Stefan Magnus Landrø
Hi there, I'm using setFileSystemFactory to set a custom file system factory, but it seems that when downloading files using SCP and trying to us a wildcard pattern to download file, the DirectoryScanner which is invoked by the ScpHelper is not using the the custom filesystem at all. This seems

1.5.0 missing in maven central

2017-06-08 Thread Stefan Magnus Landrø
Hi guys, It seems like 1.5.0 is missing in maven central. Any chance it might get uploaded in near future? Cheers, Stefan

Re: 1.5.0 missing in maven central

2017-06-27 Thread Stefan Magnus Landrø
Hi there, Any progress on the sshd 1.5.0 relase? I'm keen to start using the new proxy protocol support. Cheers, Stefan 2017-06-14 16:50 GMT+02:00 Oleg Nenashev : > Ack. Please let me know if I can help somehow (I have no signed Apache > contributor agreement, but can

Re: SSH Client timeout/keepalive?

2018-01-24 Thread Stefan Magnus Landrø
You should never keep a connection up and idle for that long. Kick off your command in a screen or similar on the server instead and check back for results later. Thais solution will protect you from intermittent network drops too. Stefan Sendt fra min iPhone > 24. jan. 2018 kl. 20:55 skrev

Re: Sftp with [crc32] hash

2018-01-12 Thread Stefan Magnus Landrø
You could use the built in java crc32 functionality and implement the missing digest. https://docs.oracle.com/javase/7/docs/api/java/util/zip/CheckedInputStream.html Sendt fra min iPhone > 12. jan. 2018 kl. 16:31 skrev Dennis van der Laan : > > Hi, > > I made an

Re: Sftp with [crc32] hash

2018-01-12 Thread Stefan Magnus Landrø
Have you had a look at this: https://github.com/apache/mina-sshd/tree/master/sshd-core/src/main/java/org/apache/sshd/common/digest Cheers, Stefan 2018-01-12 16:31 GMT+01:00 Dennis van der Laan : > Hi, > > I made an integration between SSHD and Apache Jackrabbit, so we

Re: Getting "Too many open files" warnings11

2018-12-05 Thread Stefan Magnus Landrø
ile by type instead of just the number? How > many are storage files, how many are sockets? > > On Wed, Dec 5, 2018 at 2:10 AM Stefan Magnus Landrø < > stefan.lan...@gmail.com> > wrote: > > > Perform a heap dump to find out what’s going on > > > > Sendt

Re: Getting "Too many open files" warnings11

2018-11-30 Thread Stefan Magnus Landrø
https://unix.stackexchange.com/questions/108603/do-changes-in-etc-security-limits-conf-require-a-reboot Sendt fra min iPhone > 30. nov. 2018 kl. 11:17 skrev Krishan Babbar : > > Dear All, > > I am working on an IoT project. I have created a Java application using MINA > library. All the

Re: Getting "Too many open files" warnings11

2018-12-04 Thread Stefan Magnus Landrø
u know how much cpu Java was consuming at that point in time? > >> > >> On Fri, Nov 30, 2018 at 8:24 AM Krishan Babbar < > >> kb00449...@techmahindra.com<mailto:kb00449...@techmahindra.com>> > >> wrote: > >> > >>> Thanks Stefan, >

Re: How can we replace FileSystemView for newer apache SSHD versions

2020-06-02 Thread Stefan Magnus Landrø
Have you HAF a look at the rooted file system factory in the codebase? Sendt fra min iPhone > 2. jun. 2020 kl. 17:05 skrev Patrik Ek : > > Hi, > I am doing uplift of apache SSHD from a very old version (0.12) to a newer > version (2.4.0). During this I ran into a peculiar piece of code.

Re: Issue with private keys

2022-01-29 Thread Stefan Magnus Landrø
It might also be the class initialiser that is failing Last ned Outlook for iOS Fra: Thomas Wolf Sendt: Friday, January 28, 2022 10:00:32 PM Til: users@mina.apache.org Emne: Re: Issue with private keys Hi, On 27.01.22 21:44 , José Danilo

Re: Help understand SSHD server exception "bad length"

2022-10-07 Thread Stefan Magnus Landrø
Check here: https://github.com/apache/mina-sshd/blob/master/sshd-common/src/main/java/org/apache/sshd/common/SshConstants.java Sendt fra min iPhone > 7. okt. 2022 kl. 18:15 skrev Thomas Wolf : > > On 07.10.22 17:31 , Stefan Müller wrote: >> The SSHD server shows following error while