-
Notifications
You must be signed in to change notification settings - Fork 530
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
Static HOST IP was ignored, with fix #190
Comments
hktalent
pushed a commit
to hktalent/webssh2
that referenced
this issue
Jun 3, 2022
hktalent
pushed a commit
to hktalent/webssh2
that referenced
this issue
Jun 3, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested on (but not related to the issue probably):
Issue
When entering a static SSH Host IP in config.json (ssh.host), this IP was ignored during HTTP requests (always tries to resolve whatever was behind '/host/'
Fix
Fixed by changing app/server/app.js and putting 'config.ssh.host' in front: when this is put at the default ("host:" null) in the config.json file, it will resolve whatever is after "/host/" in the URL:
Summary:
Potential fix below followed by opening http://localhost:2222/ssh/host/client will send you the IP address configured in json.conf.
app/server/app.js
The text was updated successfully, but these errors were encountered: