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

Cannot use allow-remote-hosts and user at the same time from browser URL #463

Open
steelxt opened this issue Feb 10, 2023 · 3 comments
Open

Comments

@steelxt
Copy link

steelxt commented Feb 10, 2023

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:

  1. docker run -i -t --rm -p 3000:3000 wettyoss/wetty --ssh-host=192.168.1.37 --allow-remote-hosts
  2. open browser : http://localhost:3000/wetty/ssh/ubuntu?host=10.0.100.14
    3: as a result : [email protected]'s password:
    Expected behavior
    user should be ubuntu rather than root user: [email protected]'s password:

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux Pop!_OS 22.04 LTS
  • Browser Firefox
  • Version 109.0.1 (64-bit)
@arjun-udaan
Copy link

stuck with the same issue? any help here?

@fuchsg
Copy link

fuchsg commented Mar 15, 2024

@arjun-udaan
Copy link

Just use http://localhost:3000/wetty/ssh/[email protected]

This worked out, although the response was a little late.

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