SSH web在线版本,可以在网页操作ssh的工具。
安装
RHEL/CentOS/Fedora
yum install shellinabox -y
配置
vi /etc/sysconfig/shellinaboxd
请加上最后一句,否则连不上
# Shell in a box daemon configuration
# For details see shellinaboxd man page
# Basic options
USER=shellinabox
GROUP=shellinabox
CERTDIR=/var/lib/shellinabox
PORT=4200
OPTS="--disable-ssl-menu -s /:LOGIN"
# 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"
OPTS="-t -s /:SSH:192.168.0.100"
# 或者只能本地连接
# OPTS="-t -s /:SSH:192.168.0.100 --localhost-only"
启动
systemctl restart shellinaboxd
Debian/Ubuntu/Linux Mint
安装
apt-get install shellinabox
配置
vi /etc/default/shellinabox
-----> 配置内容同上 <-----
启动
service shellinaboxd start