Add remote shell implementation based on crsh

This commit adds a new starter named spring-boot-starter-shell-crsh and auto configuration support to embed a system shell within Spring Boot applications.

The embedded shell allows clients to connect via ssh or telnet to the Boot app and execute commands. Commands can be implemented and embedded with app.

For sample usage see spring-boot-samples-actuator.
This commit is contained in:
Christian Dupuis
2013-11-04 17:16:17 +01:00
parent 90a2bf38da
commit 6b599b8483
16 changed files with 1802 additions and 1 deletions

View File

@@ -6,4 +6,12 @@ server.port: 8080
server.tomcat.basedir: target/tomcat
server.tomcat.access_log_pattern: %h %t "%r" %s %b
security.require_ssl: false
service.name: Phil
service.name: Phil
shell.ssh.enabled: true
shell.ssh.port: 2222
shell.telnet.enabled: false
#shell.telnet.port: 1111
shell.auth: spring
#shell.auth: key
#shell.auth.key.path: ${user.home}/test/id_rsa.pub.pem
#shell.auth: simple