All Questions
22 questions
0
votes
0
answers
514
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 ...
1
vote
1
answer
967
views
java.sql.SQLException: null, Host 'X.X.X.X' is not allowed to connect to this MySQL server
I have a database on remote Ubuntu Server. I can access to this database throw SSH. I have been successfully connected to this database from MYSQL Workbench using Standard TCP/IP over SSH.
I try to ...
1
vote
0
answers
306
views
Spring cloud config server connection to Bitbucket using SSH keys gives No more authentication methods available error
I am trying to create a spring cloud config server to connect to git repository(bitbucket) using an SSH URI. I am following Spring Cloud Config.
I generated key pair using the command
ssh-keygen -m ...
2
votes
1
answer
80
views
JSch on z/OS - invalid key when connecting to localhost
I'm working on a SpringBoot application running on z/OS natively (not in a zCX container).
The idea is to maintain a session to a PROTECTED RACF service id using ssh key private/public key pair.
I've ...
2
votes
1
answer
6k
views
Auth fail with JSch against libssh server with "rsa-sha2-512"
I'm running MacOs, Springboot 2.6.7 and mwiede:jsch:0.2.5 (according to a '.gradlew dependencies' command) and I'm trying to connect to an old customer SFTP server.
I have generated an SSH key pair ...
0
votes
2
answers
4k
views
How to return an InputStream as a file in Spring Boot? [duplicate]
I have an InputStream to a file obtained from a server through SSH using JSch. I want to return it as a file in my Spring Boot application.
Try using ResponseEntity as I read on many forums but it ...
1
vote
1
answer
2k
views
Direct file streaming from SSH using Java
I am building an api with Java Spring Boot and what I want to do is use an endpoint to download a file. The problem is that the api accesses the file through ssh. I don't want the api to download the ...
0
votes
1
answer
3k
views
create appspec.yml file for ec2 deployment
I have created a spring boot app that I can launch on AWS EC2 instance and it works fine, however, I would now like to automate the process using CodeDeploy, so I wouldn't have to use puTTy to connect ...
0
votes
1
answer
1k
views
Spring Boot fails reading certificate with IllegalArgumentException: jsse.alias_no_key_entry
I developed an application and I uploaded to my domain. The host provides me a wildcard certificate to use, so I tried to add it into my application. I don't know if I am doing the right steps or what....
1
vote
1
answer
2k
views
SSH to remote server and read Files in Springboot
I just need to know whether below scenario is possible or not in Spring boot?
Assume I need to ssh to server and do operations in a specific directory in springboot. For example I just need to read ...
2
votes
1
answer
2k
views
Access to a Server that contain postfix and use it to send mail from spring boot application
I'm creating a service in a spring boot application to send email using postfix server , the problem is that postfix is not installed in my machine, to get into postfix i should connect to remote ...
3
votes
0
answers
1k
views
Unable to attach remote debugger to app in PCF
I have multiple applications running in PCF and can remote debug in to all but one of them. I use the same configuration making sure that
JBP_CONFIG_DEBUG: {enabled: true}
is properly set and picked ...
7
votes
1
answer
2k
views
SSH tunnel in Intellij Idea Run/Debug config and in Gradle tasks
Our Spring Boot (with Gradle) application has upstreams, that are hosted in the cloud. So, when we need to communicate with them from the local machine, we use SSH tunnels to test app locally.
So, ...
0
votes
1
answer
2k
views
SFTP Default Session Factory or SFTP Plain connection to upload file to multiple remote servers
I do have multiple remote servers configured in our application based on the customers.
When report is ready for that particular customer I should connect to remote server of that particular customer ...
1
vote
3
answers
2k
views
Spring boot shut down when I close the session
My Spring Boot Rest Api works veryy good, but I have problem with him.
When I'm closing the terminal SSH, my application rest shut down also.
What I should do ? How to fix that ?