Answer the question
In order to leave comments, you need to log in
Is there something like Spring Boot remote shell for executing commands remotely?
Friends, there is a Spring Boot application - not a web one, just spinning on the server, doing something.
Sometimes you need to connect to it and execute some simple commands (clear the cache, for example).
Does Spring have something native for this?
There used to be an interesting stray - https://docs.spring.io/spring-boot/docs/1.5.x/refe... , but since version 2.0 it was cut out.
Is there something similar for newer versions?
Memories pop up in my memory that I saw somewhere in the spring documentation about this, but I can’t find it in any way
Answer the question
In order to leave comments, you need to log in
Good afternoon.
Well, apparently there is no official replacement, but there is a third-party lib:
https://github.com/anand1st/sshd-shell-spring-boot
Source: https://stackoverflow.com/questions/46725760/succe...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question