29 lines
746 B
Plaintext
29 lines
746 B
Plaintext
# Shell in a box daemon configuration
|
|
# For details see shellinaboxd man page
|
|
|
|
# Basic options
|
|
USER=shellinabox
|
|
GROUP=shellinabox
|
|
CERTDIR=/var/lib/shellinabox
|
|
|
|
{
|
|
return "PORT=${'shellinaboxd'}{'TcpPort'}";
|
|
}
|
|
|
|
#OPTS="--disable-ssl-menu -s /:LOGIN"
|
|
|
|
#for root login
|
|
{
|
|
my $port = ${'sshd'}{'TCPPort'};
|
|
$OUT .= "OPTS=\"--no-beep --localhost-only --disable-ssl --service=\/:SSH\:localhost\:$port\" ";
|
|
}
|
|
|
|
# Additional examples with custom options:
|
|
|
|
# Fancy configuration with right-click menu choice for black-on-white:
|
|
# OPTS="--user-css Normal:+black-on-white.css,Reverse:-white-on-black.css --disable-ssl-menu -s /:LOGIN"
|
|
|
|
# Simple configuration for running it as an SSH console with SSL disabled:
|
|
# OPTS="-t -s /:SSH:host.example.com"
|
|
|