© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•3y ago•
2 replies
musicman123 — FJLaboratories

CF Tunnel SSH Not Connecting

I'm having some trouble getting a CF Tunnel SSH session established. I have an active and healthy (confirmed with other apps on the same tunnel) CF Tunnel working on another server, running in a docker container. I want to enable CF Access SSH through the browser-based rendering.

I went ahead and set up the Public Hostname on the Tunnel's page and set it to ssh://<server2> as the address. I'm getting a white screen when loading into the public hostname being set. On the host, SSH logs show:

Jan 10 23:58:05 athens sshd[3660]: Connection from <server1> port 43228 on <server2> port 22 rdomain ""
Jan 10 23:58:05 athens sshd[3660]: error: kex_exchange_identification: Connection closed by remote host
Jan 10 23:58:05 athens sshd[3660]: Connection closed by <server1> port 43228
Jan 10 23:58:05 athens sshd[3660]: Connection from <server1> port 43228 on <server2> port 22 rdomain ""
Jan 10 23:58:05 athens sshd[3660]: error: kex_exchange_identification: Connection closed by remote host
Jan 10 23:58:05 athens sshd[3660]: Connection closed by <server1> port 43228


I confirmed that no firewalls are active and that
server1
server1
is able to properly SSH into
server2
server2
normally. Further, I also tried with a different CF Tunnel installed on the
server2
server2
directly with the same
kex_exchange_identification
kex_exchange_identification
error.

This isn't the first time I've set up SSH over CF Tunnels, but this is the first time I'm seeing this and I'm incredibly baffled. Any help would be appreciated!
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

ssh tunnel not works
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
SSH Tunnel
Cloudflare DevelopersCDCloudflare Developers / general-help
14mo ago
SSH configured tunnel
Cloudflare DevelopersCDCloudflare Developers / general-help
16mo ago
Cloudflare Tunnel SSH
Cloudflare DevelopersCDCloudflare Developers / general-help
17mo ago