本次演示使用 Ubuntu-16.04-Server
输入命令,进行安装
代码语言:javascript复制ubuntu@ubuntu:~$ sudo apt-get install openssl shellinabox
编辑默认配置文件
代码语言:javascript复制ubuntu@ubuntu:~$ sudo vim /etc/default/shellinabox
内容如下:
代码语言:javascript复制# 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.
#
# Beeps are disabled because of reports of the VLC plugin crashing
# Firefox on Linux/x86_64.
SHELLINABOX_ARGS="--no-beep -s /:SSH:192.168.200.200"
启动服务:
代码语言:javascript复制ubuntu@ubuntu:~$ sudo /etc/init.d/shellinabox start
打开浏览器输入:
代码语言:javascript复制https://192.168.200.200:4200
可以结合Chrome的翻译使用,解决语言问题