首页 > 技术文章 > Linux插件shellinabox结合插件使用(以Chrome为例)

zhijian1574 2019-09-01 12:37 原文

本次演示使用 Ubuntu-16.04-Server

输入命令,进行安装

ubuntu@ubuntu:~$ sudo apt-get install openssl shellinabox

在这里插入图片描述

编辑默认配置文件

ubuntu@ubuntu:~$ sudo vim /etc/default/shellinabox 

在这里插入图片描述
内容如下:

# 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"

在这里插入图片描述

启动服务:

ubuntu@ubuntu:~$ sudo /etc/init.d/shellinabox start

在这里插入图片描述

打开浏览器输入:

https://192.168.200.200:4200


在这里插入图片描述

可以结合Chrome的翻译使用,解决语言问题

推荐阅读