How to SSH Through a Tunnel?
Hello CF Discord,
- I have a local OpenSSH server running on an Ubuntu host.
- I would like to use Docker to run a Tunnel (
https://one.dash.cloudflare.com/{id}/networks/tunnels
) to be able to connect to my server via SSH from anywhere with my domain. For example: ssh [email protected]
- Default /etc/ssh/sshd_config
configuration
I've successfully tunneled to HTTP apps like NextJS and other local Docker images. But I always get a timeout error.5 Replies
For non HTTP you need to have cloudflared on the client or use browser rendered SSH.
https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/#connect-to-ssh-server-with-cloudflared-access
Cloudflare Docs
SSH · Cloudflare Zero Trust docs
The Secure Shell Protocol (SSH) enables users to remotely access devices through the command line. With Cloudflare Zero Trust, you can make your SSH …
Any experience with that? Would it be worth the effort or should I try another method?
I use browser rendered SSH for pretty much all my servers
cool, thanks
I use cloudflared for my ssh traffic works really well 🤷🏻♀️