Update and rename 43. Monitoring and management using a remote shell to 43. Monitoring and management using a remote shell.md
parent
b04be5ef97
commit
b21a0974f7
|
@ -0,0 +1,10 @@
|
||||||
|
### 43. 使用远程shell来进行监控和管理
|
||||||
|
|
||||||
|
Spring Boot支持集成一个称为'CRaSH'的Java shell。你可以在CRaSH中使用ssh或telnet命令连接到运行的应用。为了启用远程shell支持,你只需添加`spring-boot-starter-remote-shell`的依赖:
|
||||||
|
```xml
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-remote-shell</artifactId>
|
||||||
|
</dependency>
|
||||||
|
```
|
||||||
|
**注**:如果想使用telnet访问,你还需添加对`org.crsh:crsh.shell.telnet`的依赖。
|
Loading…
Reference in New Issue