SSH
Structr will listen to incoming SSH connections on the application.ssh.port
configured in structr.conf if the service “SSHService” is included in the list of configured services configured.services
.
You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.
Structr will listen to incoming SSH connections on the application.ssh.port
configured in structr.conf if the service “SSHService” is included in the list of configured services configured.services
.
The SSHService allows admin users to connect to the structr instance via the SSH protocol. The SSH port can be configured via the application.ssh.port
key in structr.conf.
Authentication can be done via public key or via password (unless explicitly forbidden via application.ssh.forcepublickey
).
After successful authentication the SSH connection allows exactly the same functionality as the Admin Console but via SSH.
application.host | The listen address of the Structr HTTP server. If you set the listen address to 127.0.0.1 , Structr will only be accessible for applications that run on the local host. This value essentially binds the HTTP server to the local loopback interface. The other option is 0.0.0.0 which makes Structr accessible from all networks. |
application.http.port | The HTTP port that Structr listens on. If you want to be able to access Structr under a simple http:// URL, you need to set this value to 80 . |
application.https.port | The HTTPS port that Structr listens on. If you want to be able to access Structr under a simple https:// URL, you need to set this value to 443 . |
application.ssh.port | The port that the SSHService listens on. |
application.ftp.port | The port that the FTPService listens on. |
application.https.enabled | If enabled, the internal HTTP server will be configured to allow HTTPS connections to the application.https.port. |
application.keystore.path | The path to a JKS keystore file that contains the certificate chain and private key for the SSL configuration needed for HTTPS. The keystore must be in PCK12 format. |
application.keystore.password | The password for the JKS keystore used in application.keystore.path. |
application.baseurl.override | Overrides baseUrl value that is originally assembled dynamically from the protocol, hostname and port of the server instance Structr is running on. |
When the maintenance mode is started, the following services are shut down:
After a brief moment, the following services are restarted with another port:
maintenance.application.http.port | HTTP port the Structr server will listen on in maintenance mode. |
maintenance.application.https.port | HTTPS port the Structr server will listen on in maintenance mode. |
maintenance.application.ssh.port | SSH port the Structr server will listen on in maintenance mode. |
maintenance.application.ftp.port | FTP port the Structr server will listen on in maintenance mode. |
maintenance.resource.path | The local folder for static resources served in maintenance mode. If no path is provided, a default maintenance page with customizable text is shown in maintenance mode. |
maintenance.message | Text for default maintenance page. |
application.ssh.forcepublickey | Force use of public key authentication for SSH connections. |
Various interfaces are available for integrating a Structr application into a company’s IT landscape, ranging from data import tools for RDF, CSV, XML and SQL to interactive technologies such as SSH and FTP to automated processing of mass data via the REST interface. In addition, ActiveDirectory support exists, and it is also possible to connect e-mail mailboxes via SMTP.
The Services Settings tab allows you to (re)start and stop Structr services. The available services include a MailService, CronService, SchemaService, AgentService, NodeService, SSHService, FtpService, LDAPService, HttpService, as well as a DirectoryWatchService.
$ ssh -p 8022 admin@localhost
Password authentication
Password: *****
Welcome to the Structr 3.6-SNAPSHOT 27066 202006301221 JavaScript console. Use <Shift>+<Tab> to switch modes.
admin@Structr/>