`cloudflared access` asking for SSH password instead of using Zero Trust for authentication.

I'm setting up Cloudflare Zero Trust, and trying to manage SSH connections to a server with cloudflared access, following https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/use-cases/ssh/#connect-to-ssh-server-with-cloudflared-access. I have already set up the server as a Tunnel and given it a public hostname, and it is showing as healthy. I have also installed Cloudflared on my Mac and set up the ProxyCommand in my ssh config.

However, when I type ssh <hostname>, instead of launching a browser window for authentication, it simply asks for my password, as it would for a regular SSH connection. I also tried visiting the browser terminal, but the server "unexpectedly dropped the connection". Why might this be?

I do know that password login over SSH is not best practice: I intend to disable it as soon as Cloudflare Access is set up.
The Secure Shell Protocol (SSH) enables users to remotely access devices through the command line. With Cloudflare Zero Trust, you can make your SSH
Was this page helpful?