470 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
122
views
Apache MINA SSH client in Shell mode - non-printable /escape characters polluting stream
I have some Java code that uses the Apache MINA SSH client to connect to a Windows server running OpenSSH.
The objective is to get an interactive prompt (One that I can issue a command, get a response,...
0
votes
0
answers
15
views
mina deploy updates the current symlink, but changes only appear in the application after a second execution
I'm new to deployment and infrastructure, and I'm setting up a Continuous Delivery (CD) process using Mina (v1.2.5) on a VPS. I'm facing a curious issue: the mina deploy command runs successfully, ...
0
votes
0
answers
45
views
Renaming a remote file using Apache Mina SftpClient is copying the file and deleting the original instead of renaming
I am using Apache Mina SFTP client(org.apache.sshd.sftp.client) and using SftpClient.rename() method to rename a file on remote sftp server. Apache Mina Client is copying the file with new name and ...
0
votes
0
answers
60
views
Apache MINA-SSHD server returning ECDSA fingerprint for RSA or DSA hostkey
I am using Apache Mina-SSHD server as SFTP and FTP server.
Apache mina sshd - v2.12.0 version .
Starting SFTP server from RSA or DSA ssh key .
Generated and SSH key with passphrase
ssh-keygen -t rsa -...
0
votes
1
answer
321
views
How to load a private key from a byte array in Apache MINA SSHD 2.11.0?
I am migrating an SFTP client from JSch to Apache MINA SSHD (version 2.11.0) and need to authenticate using a private key stored as a byte array.
With JSch, I used the following approach to ...
0
votes
1
answer
139
views
Apache MINA SSHD: SFTP Server: prevent file overriding for specific paths
I am using Apache MINA SSHD library to expose an SFTP server in a Spring Boot application and I'm wondering how should I implement a logic to prevent certain files from being overridden by a specific ...
0
votes
1
answer
236
views
SFTP client with key authentication with passphrase using Apache MINA?
I am trying to write an SFTP client using Apache MINA sshd-sftp package.
Client should use key authentication and the key is encrypted using a passphrase.
The documentation mentions to created key ...
0
votes
0
answers
943
views
No more authentication methods available with Apache Mina SSHD
I'm facing an issue while trying to authenticate an SSH session using the Apache Mina SSHD library in Java in a spring boot microservice project. I have a working implementation using JSch that ...
0
votes
0
answers
168
views
How to get remote current directory using Apache sshd SftpClient API?
I can see JSCH has feature to get current directory using ChannelSftp.pwd();
How it can be achieved using Apache Mina sshd library ? I want to find the landing directory on successful SFTP connection ?...
-1
votes
1
answer
377
views
Create an SshSessionFactory for JGit with Apache Mina authenticated with a private key on a client perspective
I want to migrate this code under Jsch to Mina:
File privateKey = new File("/path/to/local/privateKeyFile");
Repository repository = new FileRepositoryBuilder()
.setMustExist(true)
....
2
votes
2
answers
349
views
How can I use key from AndroidKeyStore instead of password to authenticate my SSH client connection?
I am unable to login to server using key authentication from my client Android app. I am able to login to server from my app using password authentication. I am able to login to server using key ...
user avatar
user1933677
1
vote
1
answer
72
views
Error while downloading with SftpInboundFileSynchronizingMessageSource Spring component a file to remove SFPT to a local directory
I have the following problem. I followed the documentation here and configured the SFTPInboundAdapter. An error occurs when the ssh client starts to download the file:
org.springframework.messaging....
1
vote
1
answer
96
views
Error connecting device using arcfour256 algorithm via mina-sshd
version:2.9.2
I configured my client to enable only arcfour256 algorithm, and then the server connecting to mina-sshd will encounter this exception, and the client connecting to a device supporting ...
0
votes
0
answers
519
views
Using Apache Mina sshd to upload files via ScpClient fails with exception in ScpHelper.readAck()
I'm trying Apache Mina for the first time and run into the exact same error. Using the suggested upload method parameters from How to upload/download files using apache SSHD ScpClient, it still throw ...
-1
votes
1
answer
210
views
How to handle Mina Exception Logs in WSO2 APIM Gateway
When I work in WSO2 I have seen some customers are facing the below error in their APIM Gateway nodes intermittently.
"ERROR {org.wso2.andes.transport.network.mina.MinaNetworkHandler} - Exception ...