Spring Boot provides remote access to the Boot application using ssh. The following command connects to the Spring Boot application from a terminal window. The password can be customized by adding the shell.auth.simple.user.password property in the application.properties file. The updated application.properties will look as follows:
shell.auth.simple.user.password=admin
Use a terminal window to connect to the remote boot application using the following code:
$ ssh -p 2000 user@localhost
When connected with the preceding command, similar actuator information can be accessed. The following is an example of the metrics information accessed through the CLI:
help: lists all the options available
dashboard: dashboard is one interesting feature, which shows a lot of system-level information