Skip to main content

All Questions

Tagged with
1 vote
2 answers
46 views

When I remove the port from the URL, photos, styles and scripts are not loaded

I have a Spring MVC project, I collected it in a docker container docker pull dockerHubAcc/project-admin:latest docker run -d --name project-admin-container -p 8088:443 --network someNetwork -v ...
Denis's user avatar
  • 15
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 ...
Sweta Sharma's user avatar
  • 2,794
0 votes
1 answer
276 views

SSH Keyboard Interactive access method not supported with Spring client

i am developing a Spring service that should be able to connect to a keyboard interactive ssh server, i am successfully opening a session and a channel, but using the inputStream, I receive "...
codemaster1101's user avatar
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 ...
MauriRamone's user avatar
0 votes
2 answers
780 views

Integration tests - Dummy SSH Server not executing ssh commands correctly

Spring batch project. There is a SshIService that accepts ssh commands and executes them. When the project runs in the Jenkins pipeline, it is able to create the ssh connections and my SshIService ...
P_user526's user avatar
0 votes
0 answers
234 views

How to get a SSH terminal in browser using AngularJS?

This is a project for my CV and I am trying to get a terminal in AngularJS using Spring as back-end. I did most of the back-end, database connections, SSH connections, etc, but I don't have any idea ...
evo2048's user avatar
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 ...
Kasun Palihakkara's user avatar
0 votes
1 answer
269 views

Spring Boot app fails to start up using SSH

I have a spring app that is happily running on a staging and a prod server. It's time to automate deployments. I have a restart.sh script on my staging server. if I ssh into the server and run it as ...
Pinwheeler's user avatar
  • 1,111
1 vote
1 answer
3k views

How do I connect to Bitbucket using SSH from a spring-config-server application?

I have created a simple Spring cloud config server application and corresponding 'client' application. The config server reads config files from a git repo and the client app pulls them from the ...
Jed Arndt's user avatar
3 votes
0 answers
775 views

How to read known_hosts file from "Resources" folder in a Spring Boot Application with Cloud Config Server and SSH enabled

I have a spring boot application which has Config Server enabled with @EnableConfigServer annotation. The config server connects to a Git repository hosted on Bitbucket.org using SSH Access key. Since ...
Gazsi Adam's user avatar
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 ...
Jayachandran P's user avatar
0 votes
0 answers
381 views

SSH - Java JDBC connection - Hibernate connection

I have an oracle could db which installed in windows server. To access db, Create SSH tunnel to host machine. On success SSH tunnel, establish local port forward to server machine to access db. For ...
Parthiban's user avatar
  • 105
7 votes
4 answers
20k views

Connect to MySQL through SSH and by using Spring Boot

In my Spring Bootapp WAR, I have an application.properties file wherein I have defined following datasource properties: spring.datasource.url=jdbc:mysql://localhost/test?autoReconnect=true&useSSL=...
Akshay Lokur's user avatar
  • 7,526
0 votes
2 answers
2k views

Spring port Forwarding for remote database before start application

Hi I have a database on server that need SSH connection before. For that i follow instruction of this post To create a tunnel and port forwarding. I didn't do the same but i implement this class (...
shmoolki's user avatar
  • 1,561
3 votes
2 answers
2k views

Spring boot App not working after ssh logout

So I'm deploying my Spring Boot application on an Ubuntu LTS Server. It is built with maven and running with embedded Tomcat. I'm still new to the deployment process, what I did was: Log into ...
Claudio Brasser's user avatar

15 30 50 per page