Hi Mihai,
I can reach the VM from the host with ssh 10.10.10.201. Nginx runs on the same 
host. When I open:
http://sshproxy.mydomain.com in my browser I get first the popup for username 
and password because of the Basic Authentication and then the following error 
message:
This page isn’t working
sshproxy.emimx.com didn’t send any data.
ERR_EMPTY_RESPONSE

In order to double-check that nginx can reach the VM I startet python3 -m  
http.server 8000 in the VM and changed in nginx the line:
proxy_pass http://10.10.10.201:22; to
proxy_pass http://10.10.10.201:8000;
I get the python Directory web-server message:
listing for /
LICENSE-APACHE
LICENSE-MIT
README.md
static-web-server
on my browser and the python webserver shows successful connect from the host:
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
10.10.10.1 - - [29/May/2025 14:37:45] "GET / HTTP/1.1" 200 -
10.10.10.1 - - [29/May/2025 14:45:46] "GET / HTTP/1.1" 200 -
10.10.10.1 - - [29/May/2025 14:45:46] code 404, message File not found
10.10.10.1 - - [29/May/2025 14:45:46] "GET /favicon.ico HTTP/1.1" 404 -
10.10.10.1 - - [29/May/2025 14:45:55] "GET /static-web-server HTTP/1.1" 200 -
10.10.10.1 - - [29/May/2025 14:46:37] "GET / HTTP/1.1" 200 -
So the client can connect to the proxy and the proxy can reach http on port 
8000 in the VM. Is the problem that nginx tries to reach ssh on port 22 with 
the http protocol?
Thank you,
alex
_______________________________________________
x2go-user mailing list -- x2go-user@lists.x2go.org
To unsubscribe send an email to x2go-user-le...@lists.x2go.org
${mailinglist_url} (substitution broken, will need mailman upgrade)
https://lists.x2go.org/postorius/lists/x2go-user.lists.x2go.org

Reply via email to