Remove remote shell support
See gh-7044
This commit is contained in:
@@ -2,14 +2,6 @@
|
||||
#server.port=8080
|
||||
#management.port=8080
|
||||
management.address=127.0.0.1
|
||||
management.shell.ssh.enabled=true
|
||||
management.shell.ssh.port=2222
|
||||
#management.shell.telnet.enabled=false
|
||||
#management.shell.telnet.port=1111
|
||||
management.shell.auth.type=spring
|
||||
#management.shell.auth.type=key
|
||||
#management.shell.auth.key.path=${user.home}/test/id_rsa.pub.pem
|
||||
#management.shell.auth.type=simple
|
||||
|
||||
endpoints.shutdown.enabled=true
|
||||
server.tomcat.basedir=target/tomcat
|
||||
|
||||
@@ -23,10 +23,6 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-remote-shell</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
|
||||
@@ -1,6 +1 @@
|
||||
service.name=Phil
|
||||
|
||||
management.shell.ssh.enabled=true
|
||||
management.shell.ssh.port=2222
|
||||
management.shell.auth.type=simple
|
||||
management.shell.auth.simple.user.password=password
|
||||
|
||||
@@ -35,10 +35,6 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-jdbc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-remote-shell</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
@@ -48,20 +44,6 @@
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- <dependency>
|
||||
<groupId>org.crashub</groupId>
|
||||
<artifactId>crash.connectors.telnet</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency> -->
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
@@ -2,14 +2,6 @@
|
||||
# logging.level.org.springframework.security=DEBUG
|
||||
management.address=127.0.0.1
|
||||
#management.port=8181
|
||||
management.shell.ssh.enabled=true
|
||||
management.shell.ssh.port=2222
|
||||
#management.shell.telnet.enabled=false
|
||||
#management.shell.telnet.port=1111
|
||||
management.shell.auth.type=spring
|
||||
#management.shell.auth.type=key
|
||||
#management.shell.auth.key.path=${user.home}/test/id_rsa.pub.pem
|
||||
#management.shell.auth.type=simple
|
||||
|
||||
management.info.build.mode=full
|
||||
|
||||
|
||||
Reference in New Issue
Block a user