This commit is contained in:
2026-05-22 19:08:51 +01:00
parent 25c8e8c9e8
commit eb01903f9f
+14 -12
View File
@@ -1,22 +1,24 @@
# Go web terminal # Go web terminal
- the app runs with access as user who started it!
- it runs on https ( default is random ssl certifcate generated during start) - it runs on https ( default is random ssl certifcate generated during start)
- you can turn off user account required to access it during startup - you can turn off user account required to access it during startup
- default user account is `ivor` and pw `Silv3rSw0rd!` - default user account is `ivor` and pw `Silv3rSw0rd!`
## Usage: ## Usage:
`./gotermix -addr <string>`
- listen address (default "127.0.0.1:5000") - listen address (default "127.0.0.1:5000")
`./gotermix -nopw` `./gotermix -addr <string>`
- disable password authentication - disable password authentication
`./gotermix -setlogin <string>` `./gotermix -nopw`
- set login username (next arg is password) and restart the app. - set login username (next arg is password) and restart the app.
`./gotermix -cert /etc/ssl/my.crt -certkey /etc/ssl/my.key` `./gotermix -setlogin <string>`
-s et a cert (validates it first, then stores paths encrypted, exits) -s et a cert (validates it first, then stores paths encrypted, exits)
`./gotermix -cert /etc/ssl/combined.pem` `./gotermix -cert /etc/ssl/my.crt -certkey /etc/ssl/my.key`
- combined cert+key PEM file (omit -certkey) - combined cert+key PEM file (omit -certkey)
`./gotermix -certreset` `./gotermix -cert /etc/ssl/combined.pem`
- remove stored cert, revert to self-signed - remove stored cert, revert to self-signed
`./gotermix -certreset`
## Set custom encryption password for the .json file during build ## Set custom encryption password for the .json file during build
`export GOTERMINAL_ENC="SoMeStRongPasSwoR2d"` `export GOTERMINAL_ENC="SoMeStRongPasSwoR2d"`