You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested on (but not related to the issue probably):
Node and NPM Version: (v13.12.0 & 6.14.4)
Server OS Version / Distribution / Processor Architecture: Windows 10 x64 b1909
WebSSH2 release version: 0.3.1-pre-release-0.0
OS and Version of SSH server connecting to: Debian10 x64
Browser Version and OS: tested with MS Edge & Firefox
Any log or messages from the WebSSH2 output
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:
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: