部署步骤:
git clone <https://github.com/billchurch/webssh2.git>
cd webssh2/app
# 安装依赖
npm install --production
# 配置文件
cp config.json.sample config.json
# 启动服务
npm start
扩展:可以结合 paramiko
实现 ssh key 登录。
部署步骤:
git clone <https://github.com/billchurch/webssh2.git>
cd webssh2/app
# 安装依赖
npm install --production
# 配置文件
cp config.json.sample config.json
# 启动服务
npm start
扩展:可以结合 paramiko
实现 ssh key 登录。