Diskussion:Shellinabox/Konfiguration
Daemon command: /usr/sbin/shellinaboxd -u shellinabox -g shellinabox --cert=/var/lib/shellinabox --port=443 --user-css Normal:+black-on-white.css,Reverse:-white-on-black.css --disable-ssl-menu -s /:SSH
/opt/shellinabox/bin/shellinaboxd --no-beep --disable-peer-check -p 4201 --user-css "Normal:+/etc/shellinabox/options-enabled/00_White-On-Black.css;Colors:+/etc/shellinabox/options-enabled/01+Color-Terminal.css" -t -s /:LOGIN
sudo certbot certonly --key-type rsa --cert-name siab-cert --standalone -d yourdomain.com
certbot certonly --key-type rsa --cert-name siab-cert --standalone -d shell.foxtom.de
root@shell:~# apt install certbot Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: python3-acme python3-certbot python3-configargparse python3-josepy python3-openssl python3-parsedatetime python3-rfc3339 python3-tz Suggested packages: python-certbot-doc python3-certbot-apache python3-certbot-nginx python-acme-doc python-openssl-doc python3-openssl-dbg Recommended packages: python3-icu The following NEW packages will be installed: certbot python3-acme python3-certbot python3-configargparse python3-josepy python3-openssl python3-parsedatetime python3-rfc3339 python3-tz 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 541 kB of archives. After this operation, 2,010 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://deb.debian.org/debian bookworm/main arm64 python3-openssl all 23.0.0-1 [50.8 kB] Get:2 http://deb.debian.org/debian bookworm/main arm64 python3-josepy all 1.13.0-1 [23.1 kB] Get:3 http://deb.debian.org/debian bookworm/main arm64 python3-tz all 2022.7.1-4 [30.1 kB] Get:4 http://deb.debian.org/debian bookworm/main arm64 python3-rfc3339 all 1.1-4 [7,088 B] Get:5 http://deb.debian.org/debian bookworm/main arm64 python3-acme all 2.1.0-1 [32.0 kB] Get:6 http://deb.debian.org/debian bookworm/main arm64 python3-configargparse all 1.5.3-1 [26.1 kB] Get:7 http://deb.debian.org/debian bookworm/main arm64 python3-parsedatetime all 2.6-3 [41.2 kB] Get:8 http://deb.debian.org/debian bookworm/main arm64 python3-certbot all 2.1.0-4 [209 kB] Get:9 http://deb.debian.org/debian bookworm/main arm64 certbot all 2.1.0-4 [122 kB] Fetched 541 kB in 0s (22.9 MB/s) Preconfiguring packages ... Selecting previously unselected package python3-openssl. (Reading database ... 36179 files and directories currently installed.) Preparing to unpack .../0-python3-openssl_23.0.0-1_all.deb ... Unpacking python3-openssl (23.0.0-1) ... Selecting previously unselected package python3-josepy. Preparing to unpack .../1-python3-josepy_1.13.0-1_all.deb ... Unpacking python3-josepy (1.13.0-1) ... Selecting previously unselected package python3-tz. Preparing to unpack .../2-python3-tz_2022.7.1-4_all.deb ... Unpacking python3-tz (2022.7.1-4) ... Selecting previously unselected package python3-rfc3339. Preparing to unpack .../3-python3-rfc3339_1.1-4_all.deb ... Unpacking python3-rfc3339 (1.1-4) ... Selecting previously unselected package python3-acme. Preparing to unpack .../4-python3-acme_2.1.0-1_all.deb ... Unpacking python3-acme (2.1.0-1) ... Selecting previously unselected package python3-configargparse. Preparing to unpack .../5-python3-configargparse_1.5.3-1_all.deb ... Unpacking python3-configargparse (1.5.3-1) ... root@shell:~# certbot certonly --key-type rsa --cert-name siab-cert --standalone -d shell.foxtom.de Saving debug log to /var/log/letsencrypt/letsencrypt.log Enter email address (used for urgent renewal and security notices) (Enter 'c' to cancel): mail@foxtom.net
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Please read the Terms of Service at https://letsencrypt.org/documents/LE-SA-v1.5-February-24-2025.pdf. You must agree in order to register with the ACME server. Do you agree? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (Y)es/(N)o: Y
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Would you be willing, once your first certificate is successfully issued, to share your email address with the Electronic Frontier Foundation, a founding partner of the Let's Encrypt project and the non-profit organization that develops Certbot? We'd like to send you email about our work encrypting the web, EFF news, campaigns, and ways to support digital freedom. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (Y)es/(N)o: N Account registered. Requesting a certificate for shell.foxtom.de
Successfully received certificate. Certificate is saved at: /etc/letsencrypt/live/siab-cert/fullchain.pem Key is saved at: /etc/letsencrypt/live/siab-cert/privkey.pem This certificate expires on 2025-11-17. These files will be updated when the certificate renews. Certbot has set up a scheduled task to automatically renew this certificate in the background.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If you like Certbot, please consider supporting our work by:
- Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
- Donating to EFF: https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
cat /etc/letsencrypt/live/domain.name/fullchain.pem /etc/letsencrypt/live/domain.name/privkey.pem > /var/lib/shellinabox/certificate-domain.name.pem
- Should shellinaboxd start automatically
SHELLINABOX_DAEMON_START=1
- TCP port that shellinboxd's webserver listens on
SHELLINABOX_PORT=443
- Parameters that are managed by the system and usually should not need
- changing:
- SHELLINABOX_DATADIR=/var/lib/shellinabox
- SHELLINABOX_USER=shellinabox
- SHELLINABOX_GROUP=shellinabox
- Any optional arguments (e.g. extra service definitions). Make sure
- that that argument is quoted.
- Beeps are disabled because of reports of the VLC plugin crashing
- Firefox on Linux/x86_64.
SHELLINABOX_ARGS="--no-beep" SHELLINABOX_ARGS="--user-css 'White On White:+/etc/shellinabox/options-enabled/00_White On Black.css;Color Terminal:-/etc/shellinabox/options-enabled/00+Black on White.css,White On Black:+/etc/shellinabox/options-enabled/01+Color Terminal.css,Monochrome:-/etc/shellinabox/options-enabled/01_Monochrome.css'"