Greetings,
I have been using Cloudflare Tunnel for a while and itβs been working fine with both HTTP and HTTPS servers.
However, when trying to follow the instructions on to " Connect to SSH server with cloudflared access
" from the doc:
ββ1. Connect the server to Cloudflare
- Create a Cloudflare Tunnel by following our dashboard setup guide.
- In the Public Hostnames tab, choose a domain from the drop-down menu and specify any subdomain (for example,
ssh.example.com
). - For Service, select SSH and enter
localhost:22
. If the SSH server is on a different machine from where you installed the tunnel, enter<server IP>:22
. - Select Save hostname.
- (Recommended) Add a self-hosted application to Cloudflare Access in order to manage access to your server.
ββ2. Connect as a user
Users can connect from their device by authenticating through cloudflared
, or from a browser-rendered terminal.
ββRendering in the browser
Browser-rendered applications can be set for domains and subdomains, but cannot be set for paths.
Cloudflare can render certain non-web applications in your browser without the need for client software or end-user configuration changes. Cloudflare currently supports rendering a terminal for SSH and VNC connections in a userβs browser.
To enable browser rendering:
- In Zero TrustOpen external link, go to Access > Applications.
- Locate the SSH or VNC application you created when connecting the server to Cloudflare. Select Configure.
- In the Policies tab, ensure that only Allow or Block policies are present. Bypass and Service Auth are not supported for browser-rendered applications.
- In the Settings tab, scroll down to Browser rendering.
- Choose SSH or VNC.
Once enabled, when users authenticate and visit the URL of the application, Cloudflare will render a terminal in their browser.
I am able to hit the server on the web browser when typing:
https://ssh-server.domain.com
and able to authenticate on the policy to access from the portal.
However, when it prompts me with a user name and password, it keeps failing!
not sure which user and password is asking here.
Also, this video is old and is no longer valid:
I already tried different things, service tokens and actual users from the users lists, nothing worked.
Any advise.
Thanks