apache-mina Questions
14
Solved
I am trying to connect to an SSL server which requires me to authenticate myself. In order to use SSL over Apache MINA I need a suitable JKS file. However, I have only been given a .PEM file.
How...
Distract asked 26/1, 2010 at 11:6
2
My client-server app works with Apache MINA at both, client and server sides. Sending data via UDP works OK, but after a minute server closes the connection (or MINA's way - "session") and stops an...
Boehmenist asked 28/1, 2015 at 8:8
2
I am attempting to connect to an SFTP server that requires private key authentication and wanting to use the Mina. Looking through the documentation, I can see how to perform that authentication us...
Freethinker asked 22/4, 2021 at 17:49
2
Solved
I wrote a simple test project, which opens port 9123 for some time and exit:
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.charset.Charset;
import java.util.Date;
...
Dorella asked 9/12, 2016 at 17:32
3
Solved
I'm trying to set up an SFTP server with multiple users that each have their own home directory.
I read this answer which explained how to set a virtual directory for a single user but I'm not sur...
Corunna asked 18/7, 2016 at 16:41
2
Solved
I am trying to setup a simple SFTP server using Apache Mine SSHD v1.2.0.
I have looked at several examples on the web E.g. here, here and here.
However they all have the same line in common which...
Pulchritudinous asked 8/5, 2017 at 8:22
1
I am trying to create a custom sftp server using Apache Mina SSHD. My code so far:
SshServer sshd = SshServer.setUpDefaultServer();
sshd.setPort(PORT_NUMBER);
sshd.setKeyPairProvider(new Simple...
Heres asked 18/1, 2020 at 17:23
1
Solved
I tried finding Java code for SFTP client using Apache MINA library but couldn't find it.
Could someone show me how to write a simple password authentication based SFTP client using Apache MINA li...
Ulcerate asked 13/3, 2019 at 8:42
0
I want to use apache sshd project http://mina.apache.org/sshd-project/ to connect a network switch:
public void connect(){
try
{
client = SshClient.setUpDefaultClient();
client.start();
...
Unshroud asked 4/3, 2019 at 6:13
3
Solved
I use Apache Mina Sshd API to start up a local SFTP server in java.In SFTP client i use Jcraft jsch API to create my SFTP client.I successfully start up a server.The problem is that i want to write...
Resident asked 1/4, 2015 at 11:10
3
Currently i am working on a SFTP protocol.I have created SFTP client Using Jsch Library and SFTP Server using Apache Mina Sshd library.I have made connection between them and can successfully send ...
Wohlert asked 13/7, 2015 at 15:56
0
I am having troubles with Apache MINA core library.
When I deploy my application to a remote server some of the requests are not processed (around 2%). It looks like there might be a problem with S...
Raby asked 1/3, 2017 at 12:3
1
Solved
I'm trying to authenticate a signature that clients generate from their private key and send to the server.
The only authenticator I could find in the library that sounded appropriate was the Publ...
Prurient asked 24/8, 2016 at 12:9
1
Solved
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 get:
$ ssh localhost -p 2222
Unable to negotiate with...
Callao asked 13/11, 2015 at 10:32
1
Solved
I used Apache Mina sshd-core version 0.10.0.Due to some issues with file uploading i had to change version into 0.14.0.In there i can not override getVirtualUserDir() method. Below is my sample cod...
Career asked 22/4, 2015 at 6:57
1
Solved
I am trying to figure out how to implement Server side listeners for a Java based SFTP server to alert me to an incoming file transfer. I'm using the latest version of Apache Mina. My scenario is f...
Klagenfurt asked 17/4, 2015 at 11:46
0
I have built a server/client system with Apache Mina SSHD.
Clients connect the server by creating a session. Then they request port forwarding:
session.startRemotePortForwarding(ssaRemote,ssaLocal...
Smitt asked 5/12, 2014 at 10:4
7
Solved
They both provide roughly the same functionality. Which one should I choose to develop my high-performance TCP server? What are the pros & cons?
Reference links:
Apache MINA (source)
Netty (...
Allembracing asked 28/10, 2009 at 14:48
1
There is a very informative comparison between MINA and netty in here
I would like to know your preference when the platform is Android!
I have a host that should accept connections from as well ...
Shears asked 22/4, 2013 at 9:28
1
Solved
I am trying to follow Apache MINA's guide for setting up a SSHD server but I run into problems when connecting to it with PuTTY. I get to enter a username but then get slapped with the following er...
Haulm asked 9/9, 2013 at 8:17
1
Solved
I'm using this example, taken from Java SFTP Server Library?:
public void setupSftpServer(){
SshServer sshd = SshServer.setUpDefaultServer();
sshd.setPort(22);
sshd.setKeyPairProvider(new Simpl...
Reduced asked 29/7, 2013 at 13:26
1
It looks very strange for me. I can run several TCP servers on the same port.
I use Apache MINA library with following code:
IoAcceptor acceptor = new NioSocketAcceptor();
acceptor.bind(new InetS...
Mullein asked 26/11, 2012 at 14:55
2
Solved
I am currently building a little Apache-Mina Server app. I am using Maven to build it.
When i try to run the jar, I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundEr...
Diondione asked 26/4, 2011 at 23:57
2
Solved
I want to write an application that would be a custom SSH server with two types of connection:
A sync channel, where clients type a command and the server would return the output
An stream channe...
Chuffy asked 5/10, 2012 at 11:41
1
Solved
Mina seems to be deploying their artifacts as *.bundle files these days, which, at the very least, is annoying and at best downright evil.
If I depend on Mina in Maven like this:
<dependency&g...
Quadri asked 3/8, 2012 at 20:1
1 Next >
© 2022 - 2024 — McMap. All rights reserved.