---
title: SSH · Cloudflare Zero Trust docs
description: The Secure Shell Protocol (SSH) enables users to remotely access
  devices through the command line. With Cloudflare Zero Trust, you can make
  your SSH server available over the Internet without the risk of opening
  inbound ports on the server.
lastUpdated: 2024-09-19T00:17:12.000Z
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/
  md: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/index.md
---

The Secure Shell Protocol (SSH) enables users to remotely access devices through the command line. With Cloudflare Zero Trust, you can make your SSH server available over the Internet without the risk of opening inbound ports on the server.

Cloudflare offers four ways to secure SSH:

* [SSH with Access for Infrastructure](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-infrastructure-access/) (recommended)
* [Self-managed SSH keys](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-warp-to-tunnel/)
* [Browser-rendered SSH terminal](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-browser-rendering/)
* [SSH with client-side cloudflared](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-cloudflared-authentication/) (legacy)

For an overview of these connection options, refer to [non-HTTP applications](https://developers.cloudflare.com/cloudflare-one/applications/non-http/).
