diff --git a/V. Spring Boot Actuator: Production-ready features/43. Monitoring and management using a remote shell b/V. Spring Boot Actuator: Production-ready features/43. Monitoring and management using a remote shell deleted file mode 100644 index e69de29..0000000 diff --git a/V. Spring Boot Actuator: Production-ready features/43. Monitoring and management using a remote shell.md b/V. Spring Boot Actuator: Production-ready features/43. Monitoring and management using a remote shell.md new file mode 100644 index 0000000..afa9e0f --- /dev/null +++ b/V. Spring Boot Actuator: Production-ready features/43. Monitoring and management using a remote shell.md @@ -0,0 +1,10 @@ +### 43. 使用远程shell来进行监控和管理 + +Spring Boot支持集成一个称为'CRaSH'的Java shell。你可以在CRaSH中使用ssh或telnet命令连接到运行的应用。为了启用远程shell支持,你只需添加`spring-boot-starter-remote-shell`的依赖: +```xml + + org.springframework.boot + spring-boot-starter-remote-shell + +``` +**注**:如果想使用telnet访问,你还需添加对`org.crsh:crsh.shell.telnet`的依赖。