Cannot use allow-remote-hosts and user at the same time from browser URL
steelxt opened this issue · 3 comments
steelxt commented
Describe the bug
Using docker container, I'm trying to use username and host from URL at the same time, but is always setting root as user: root @xx.xx.xx.xx
To Reproduce
Steps to reproduce the behavior:
- docker run -i -t --rm -p 3000:3000 wettyoss/wetty --ssh-host=192.168.1.37 --allow-remote-hosts
- open browser : http://localhost:3000/wetty/ssh/ubuntu?host=10.0.100.14
3: as a result : root@10.0.100.14's password:
Expected behavior
user should be ubuntu rather than root user: ubuntu@10.0.100.14's password:
Desktop (please complete the following information):
- OS: Linux Pop!_OS 22.04 LTS
- Browser Firefox
- Version 109.0.1 (64-bit)
arjun-udaan commented
stuck with the same issue? any help here?
fuchsg commented
arjun-udaan commented
Just use http://localhost:3000/wetty/ssh/ubuntu?host=ubuntu@10.0.100.14
This worked out, although the response was a little late.