【文件属性】:
文件名称:ssh-shell-spring-boot:ssh上的Spring Boot应用程序中的Spring Shell
文件大小:198KB
文件格式:ZIP
更新时间:2021-01-30 00:44:13
ssh spring-boot spring-boot-starter springboot spring-shell
Spring Boot Ssh Shell
ssh的Spring Boot应用程序中的Spring Shell
有关更多信息,请访问spring shell或。
入门
相依性
< dependency>
< groupId>com.github.fonimus groupId>
< artifactId>ssh-shell-spring-boot-starter artifactId>
dependency>
注意:自动配置SshShellAutoConfiguration (默认情况下处于活动状态)可以通过属性ssh.shell.enable = false禁用。
这意味着ssh服务器将不会启动,并且不会扫描命令。 不幸的是,应用程序仍然会加载spring-shell自动配置类,并在启动时显示shell(shell:>)。 您可以使用以下属性禁用它们:
spring :
autoconfigure :
exclude :
- org.springframework.shell.jline.JLineShell