Diskussion:Shellinabox/Sicherheit: Unterschied zwischen den Versionen
| K Textersetzung - „http://“ durch „https://“ | K Textersetzung - „line>“ durch „line copy>“ | ||
| Zeile 122: | Zeile 122: | ||
|    USER    := 'AUTH' | <username> ':' <groupname> |    USER    := 'AUTH' | <username> ':' <groupname> | ||
|    CWD     := 'HOME' | <dir> |    CWD     := 'HOME' | <dir> | ||
|    CMD     := 'SHELL' | <cmdline> |    CMD     := 'SHELL' | <cmdline copy> | ||
| <cmdline> supports variable expansion: | <cmdline copy> supports variable expansion: | ||
|    ${columns} - number of columns |    ${columns} - number of columns | ||
|    ${gid}     - gid id |    ${gid}     - gid id | ||
Aktuelle Version vom 11. Mai 2025, 12:42 Uhr
Das war's. Install Shellinabox und befolgen Sie die oben genannten Schritte, um die Sicherheit von Shellinabox zu erhöhen
- Genießen Sie die Bequemlichkeit des webbasierten Terminalemulators
Vorlage:C Article description::allows access to the command-line from web based terminal emulator. It is useful for web-based administrator access to a system. It is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins.[1].
Installation
USE flags
Emerge
Configuration
Securing the connection
The default configuration exposes a login shell with SSL disabled on the localhost interface only.
Information about the procedure for generating self-signed SSL certificates is explained here.
To generate an SSL certificate for use shellinabox the following commands can be issued:
For Gentoo user convenience, the ebuild maintainer has provided the above commands in a file located here: Vorlage:Path
This script can simply be executed in order to generate the SSL certificate:
Service
OpenRC
Add the service to the default runlevel:
Start the service now:
systemd
To start the service at boot:
Start the service now:
Usage
After the service is running, open a web browser to the IP address of the system and port 4200:
Invocation
Removal
Unmerge
See also
External resources
- https://www.unixmen.com/shellinabox-a-web-based-ajax-terminal-emulator/ - A guide on setting up shellinabox.