Zum Inhalt springen

Diskussion:Shellinabox/Sicherheit: Unterschied zwischen den Versionen

Aus Foxwiki
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, 13: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:InfoBox stack

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].

Vorlage:Warning

Installation

USE flags

Vorlage:USEflag

Emerge

Vorlage: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:

Vorlage:RootCmd

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:

Vorlage:RootCmd

Service

OpenRC

Add the service to the default runlevel:

Vorlage:RootCmd

Start the service now:

Vorlage:RootCmd

systemd

To start the service at boot:

Vorlage:RootCmd

Start the service now:

Vorlage:RootCmd

Usage

After the service is running, open a web browser to the IP address of the system and port 4200:

Vorlage:Cmd

Invocation

Vorlage:RootInvocation

Removal

Unmerge

Vorlage:Unmerge

See also

External resources

References

Vorlage:Reflist