- node: v16.16.0
cd server
npm install
# 文件位置: server/src/main.ts
# 页面ssh到的目标服务器地址
app.ws('/', function (ws: any, req: any) {
createNewServer({
host: '127.0.0.1',
username: 'root',
password: '123456'
}, ws)
});
npm run start
cd frontend
npm install
npm run start