A simple SSH web client using Go, WebSocket and Xterm.js.
There are two ways to install and run the project, using Go and using Docker.
After cloning the project, go into its front
folder and install npm packages:
cd go-ssh-web-client/front
npm install --production
Then go back to main folder, add configuration file and modify it:
cd ..
cp config.toml.sample config.toml
vim config.toml
Modify the host, port, user and password attributes to match the target SSH server, then save the file. Finally, run the program:
go run .
Now, the HTTP server is running on port 8080, open http://localhost:8080 to use it (use http at your own risk).
First, prepare a configuration file, like config.toml.sample. After preparing config.toml
in current directory, run the prebuilt image:
docker run --name go-ssh -d \
-v `pwd`/config.toml:/root/config.toml \
-p 8080:8080 \
wuchihsu/go-ssh-web-client
Now, the HTTP server is running on port 8080, open http://localhost:8080 to use it (use http at your own risk).
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。