Zum Inhalt springen

Shellinabox/Anwendung: Unterschied zwischen den Versionen

Aus Foxwiki
 
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
Mit der Installation von shellinabox werden bereits sehr viele Anwendungsfälle abgedeckt
'''Shellinabox/Anwendung'''
 
== Beschreibung ==
Nach der Installation werden folgende Anwendungsfälle abgedeckt
* Dienst lauscht auf allen IP-Adressen
* Dienst lauscht auf allen IP-Adressen
* Verbindung ist verschlüsselt
* Verbindung ist verschlüsselt
Zeile 14: Zeile 17:


You can right-click to use several features and actions, including changing the look and feel of your shell
You can right-click to use several features and actions, including changing the look and feel of your shell


== Beispiele ==
== Beispiele ==
shellinaboxd Attaches a web-enabled login shell to https://localhost:4200/. If the user connected without SSL, the session will automatically be  pro‐
shellinaboxd fügt eine webfähige Anmeldungs-Shell zu https://localhost:4200/ hinzu. Wenn der Benutzer ohne SSL verbunden ist, wird die Sitzung automatisch heraufgestuft. Sofern im aktuellen Verzeichnis keine SSL-Zertifikate gefunden werden können, generiert der Daemon automatisch geeignete selbstsignierte Zertifikate. Wenn der Befehl von einem Nicht-Root-Benutzer aufgerufen wurde, verwendet der Daemon ssh anstelle von /bin/login für die Sitzung.
moted.   Unless  SSL certificates can be found in the current directory, the daemon will automatically generate suitable self-signed cer‐
tificates. If the command was invoked by a non-root user, the daemon uses ssh instead of /bin/login for the session.


shellinaboxd -t
{| class="wikitable options big"
Attaches a web-enabled login shell to http://localhost:4200/ with SSL/TLS support disabled.
|-
| shellinaboxd -t || Fügt eine webfähige Anmeldemaske zu https://localhost:4200/ hinzu, wobei die SSL/TLS-Unterstützung deaktiviert ist.
|-
| shellinaboxd -t -f beep.wav:/dev/null || Alle Dienste ohne arkustisches Signal auführen
|-
| shellinaboxd -s /:SSH:example.org || The terminal connects to a ssh session on example.org
|-
| shellinaboxd -t -s /:AUTH:HOME:/bin/bash || Interactively request the user's name and password prior to launching a Bourne shell. This command can be run by unprivileged  users. But if doing so, it only allows this particular user to log in.
|-
| shellinaboxd -c certificates -u shellinabox -g shellinabox || If  the certificates directory exists and is writable by the shellinabox user and group, self-signed SSL certificates will be generated in this directory. This might require creating an appropriately named user first.  Running this command as root allows any user on the system to log in at https://localhost:4200/. Sessions will automatically be promoted to SSL/TLS.
|-
| shellinaboxd -t -s /:LOGIN -s /who:nobody:nogroup:/:w || In addition to the login shell at  https://localhost:4200,  show  a  list  of  currently  logged  in  users  when  accessing  https://localhost:4200/who. This command must be run as root in order to be able to change to nobody:nogroup as requested by the service description.
|-
| shellinaboxd -t -s '/:root:root:/:wy60 -c /bin/login' || Instead of the standard ANSI/VT100 terminal, publish a Wyse 60™ terminal. Again, this command should be run as root.
|-
| shellinaboxd --css white-on-black.css || Loads  the white-on-black.css style sheet from the current directory and appends it to the built-in styles.css sheet. This causes the terminal to always render white text on a black background
|-
| shellinaboxd --user-css Normal:+black-on-white.css,Reverse:-white-on-black.css || Allow the user to select whether they want text to be rendered normally or in reverse video. This command line option adds a new entry to the right-click context menu.
|}


shellinaboxd -t -f beep.wav:/dev/null
<noinclude>
Runs all services with the audible-bell permanently disabled.


shellinaboxd -s /:SSH:example.org
== Anhang ==
The terminal connects to a ssh session on example.org.
=== Siehe auch ===
{{Special:PrefixIndex/{{BASEPAGENAME}}/}}
=== Links ===
==== Weblinks ====


shellinaboxd -t -s /:AUTH:HOME:/bin/bash
[[Kategorie:Shellinabox]]
Interactively request the user's name and password prior to launching a Bourne shell. This command can be run by unprivileged  users.  But
if doing so, it only allows this particular user to log in.
 
shellinaboxd -c certificates -u shellinabox -g shellinabox
If  the certificates directory exists and is writable by the shellinabox user and group, self-signed SSL certificates will be generated in
this directory. This might require creating an appropriately named user first.  Running this command as root allows any user on the system
to log in at http://localhost:4200/.  Sessions will automatically be promoted to SSL/TLS.
 
shellinaboxd -t -s /:LOGIN -s /who:nobody:nogroup:/:w
In addition to the login shell at  http://localhost:4200,  show  a  list  of  currently  logged  in  users  when  accessing  http://local‐
host:4200/who.  This command must be run as root in order to be able to change to nobody:nogroup as requested by the service description.
 
shellinaboxd -t -s '/:root:root:/:wy60 -c /bin/login'
Instead of the standard ANSI/VT100 terminal, publish a Wyse 60™ terminal. Again, this command should be run as root.
 
shellinaboxd --css white-on-black.css
Loads  the white-on-black.css style sheet from the current directory and appends it to the built-in styles.css sheet. This causes the ter‐
minal to always render white text on a black background.


shellinaboxd --user-css Normal:+black-on-white.css,Reverse:-white-on-black.css
</noinclude>
Allow the user to select whether they want text to be rendered normally or in reverse video. This command line option adds a new entry  to
the right-click context menu.
[[Kategorie:Shellinabox]]

Aktuelle Version vom 11. September 2025, 09:46 Uhr

Shellinabox/Anwendung

Beschreibung

Nach der Installation werden folgende Anwendungsfälle abgedeckt

  • Dienst lauscht auf allen IP-Adressen
  • Verbindung ist verschlüsselt
  • Dienst läuft mit einem eigenen Benutzerkonto
  • Benutzer können sich via Webbrowser lokal anmelden
Aufruf im Webbrowser
https://localhost:4200

Beim ersten Start des Dienstes erzeugt dieser ein eigenes Selbstsignierte-Zertifikate, was in der Regel zu einer Warnmeldung im Webbrowser führt, die im Rahmen des Tests bestätigt werden muss

You should be able to see a web-based SSH terminal

  • Log in using your username and password and you should be presented with your shell prompt

You can right-click to use several features and actions, including changing the look and feel of your shell

Beispiele

shellinaboxd fügt eine webfähige Anmeldungs-Shell zu https://localhost:4200/ hinzu. Wenn der Benutzer ohne SSL verbunden ist, wird die Sitzung automatisch heraufgestuft. Sofern im aktuellen Verzeichnis keine SSL-Zertifikate gefunden werden können, generiert der Daemon automatisch geeignete selbstsignierte Zertifikate. Wenn der Befehl von einem Nicht-Root-Benutzer aufgerufen wurde, verwendet der Daemon ssh anstelle von /bin/login für die Sitzung.

shellinaboxd -t Fügt eine webfähige Anmeldemaske zu https://localhost:4200/ hinzu, wobei die SSL/TLS-Unterstützung deaktiviert ist.
shellinaboxd -t -f beep.wav:/dev/null Alle Dienste ohne arkustisches Signal auführen
shellinaboxd -s /:SSH:example.org The terminal connects to a ssh session on example.org
shellinaboxd -t -s /:AUTH:HOME:/bin/bash Interactively request the user's name and password prior to launching a Bourne shell. This command can be run by unprivileged users. But if doing so, it only allows this particular user to log in.
shellinaboxd -c certificates -u shellinabox -g shellinabox If the certificates directory exists and is writable by the shellinabox user and group, self-signed SSL certificates will be generated in this directory. This might require creating an appropriately named user first. Running this command as root allows any user on the system to log in at https://localhost:4200/. Sessions will automatically be promoted to SSL/TLS.
shellinaboxd -t -s /:LOGIN -s /who:nobody:nogroup:/:w In addition to the login shell at https://localhost:4200, show a list of currently logged in users when accessing https://localhost:4200/who. This command must be run as root in order to be able to change to nobody:nogroup as requested by the service description.
shellinaboxd -t -s '/:root:root:/:wy60 -c /bin/login' Instead of the standard ANSI/VT100 terminal, publish a Wyse 60™ terminal. Again, this command should be run as root.
shellinaboxd --css white-on-black.css Loads the white-on-black.css style sheet from the current directory and appends it to the built-in styles.css sheet. This causes the terminal to always render white text on a black background
shellinaboxd --user-css Normal:+black-on-white.css,Reverse:-white-on-black.css Allow the user to select whether they want text to be rendered normally or in reverse video. This command line option adds a new entry to the right-click context menu.


Anhang

Siehe auch