Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

连不上服务器终端 #13

Open
wangbiao007 opened this issue Jul 20, 2020 · 2 comments
Open

连不上服务器终端 #13

wangbiao007 opened this issue Jul 20, 2020 · 2 comments

Comments

@wangbiao007
Copy link

openTerminal( {
operate:'connect',
host: '',//IP
port: '22',//端口号
username: 'r',//用户名
password: ''//密码*/
});
端口号是不是输入22?然后我输入ip,用户名和密码后,前端js有报错,请问是不是我的端口号填写错误?导致连不上
image

@Mosicol
Copy link

Mosicol commented Sep 20, 2020

openTerminal( {
operate:'connect',
host: '',//IP
port: '22',//端口号
username: 'r',//用户名
password: ''//密码*/
});
端口号是不是输入22?然后我输入ip,用户名和密码后,前端js有报错,请问是不是我的端口号填写错误?导致连不上
image

在webssh.js第十行,加上项目名,你看是报404,没找到。
var endpoint = protocol+'127.0.0.1:8080/你当前的项目名称/webssh';

@1029219814
Copy link

1029219814 commented Dec 3, 2021

你好,我现在报错,但是没有任何错误信息
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants