-
Notifications
You must be signed in to change notification settings - Fork 673
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
Passing ssh host from browser #365
Comments
Stale issue message |
it appears |
so I realised the reason it's not an HTTP header was I didn't want people using other wetty servers as ssh-clients to different servers. But i can also see why its be useful if you ran multiple servers and didn't want to run multiple wetty instances Ill see if i can add a flag to the command line to allow this for those that want it |
Version 2.2.0 has a flag |
Thank you so much! |
Hello @butlerx , I didn't see this in the documentation and came across this via Google Search. What was the process to do this? I added --allow-remote-hosts to my compose file and I am able to connect to the remote host, however, it does not allow me to enter the password and it automatically closes the connection with permission denied. This is my compose file ---
services:
wetty:
image: "wettyoss/wetty:latest"
command:
- --base=/
- --ssh-host=${SSHHOST} # rasppi.local
- --ssh-user=${SSHUSER} # test_user
- --ssh-pass=${SSHPASS} # test_password
- --allow-remote-hosts
tty: true
environment:
- NODE_ENV='production'
networks:
- traefik
deploy:
placement:
constraints:
- node.labels.name == rasppi
restart_policy:
condition: any
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.wetty.entrypoints=web"
- "traefik.http.routers.wetty.rule=Host(`wetty.local`)"
- "traefik.http.services.wetty.loadbalancer.server.port=3000"
- "traefik.http.services.wetty.loadbalancer.server.scheme=http"
networks:
traefik:
external: true I am able to navigate to Edit: Thank you! |
Hi,
Is there any way we can pass the
ssh-host
from the browser? Looks like there was an option earlier as mentioned in this issue, but it doesn't seem to be working for most of the users now.Any guidance is much appreciated. Thanks
The text was updated successfully, but these errors were encountered: