群晖搭建webssh

  1. 拷贝工程到系统根,然后需要赋予权限 sudo chmod 777 -R WebSSH2/
  2. git clone https://github.com/zhaocundang/WebSSH2.git

  3. depends : node.js v8

npm ERR! [email protected] postinstall: lightercollective
npm ERR! spawn ENOENT
npm ERR!

To install:
admin@DiskStation:/volume1/web/webssh/WebSSH2/app$ sudo npm i -g lightercollective
/volume1/@appstore/Node.js_v8/usr/local/bin/lightercollective -> /volume1/@appstore/Node.js_v8/usr/local/lib/node_modules/lightercollective/index.js

  1. cd /WebSSH/app/

  2. sudo npm install

  3. cp WebSSH2/app/package.json ../

    sudo npm start

6.开机自启: sudo vim /etc/rc append this: (在末尾exit0 之前) cd /WebSSH2/ && npm start

  1. how to use?

in browser : http://10.168.1.241:2222/ssh/host/127.0.0.1

782772-20190421184053273-679679955.png

发布了240 篇原创文章 · 获赞 2 · 访问量 6万+

猜你喜欢

转载自blog.csdn.net/zhaocundang/article/details/104810920