Estou tentando usar o Shell In A Box, que implementa um servidor da Web que pode exportar ferramentas de linha de comando arbitrárias para um emulador de terminal baseado na Web. Este emulador é acessível a qualquer navegador da Web habilitado para JavaScript e CSS e não requer plug-ins adicionais de navegador.
Estou passando pelo repositório do GitHub para implementá-lo.
Quando executo o executável shellinaboxd
no terminal usando
shellinaboxd --port 4201
e abra o https://127.0.0.1:4201/
para o login.
Mas quando digito meu nome e pressiono enter, vejo a sessão encerrada.
Meu arquivo /etc/default/shellinabox
é semelhante ao seguinte:
# Should shellinaboxd start automatically
SHELLINABOX_DAEMON_START=1
# TCP port that shellinboxd's webserver listens on
SHELLINABOX_PORT=4200
# 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.
# SHELLINABOX_ARGS="--o-beep"
SHELLINABOX_ARGS="--disable-ssl-menu --service=/:LOGIN --no-beep --linkify=none --css=/etc/shellinabox/termstyle.css"
Eu tentei o seguinte também, mas não funcionou:
Meu arquivo /etc/hosts
é o seguinte:
127.0.0.1 localhost
127.0.0.1 abhishek-Latitude-3480
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Se alguém tiver usado shellinabox
ou puder me orientar sobre seu uso, será uma grande ajuda.