Proxy SSH Provider

Published
Length
3 min read

Luis Felipe Dias

All posts

You set up a proxy ssh provider by routing server traffic through a central jump host. Your team pairs this host with an OpenSSH certificate authority to check user logins. Most teams start by putting a bastion host in front of private servers. They give engineers broad shell roles so they can fix production issues fast. When these roles are too wide, one bad command can break a live server. Static keys also sit on laptops for months and create big security risks. How a native proxy ssh provid

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

You set up a proxy ssh provider by routing server traffic through a central jump host. Your team pairs this host with an OpenSSH certificate authority to check user logins. Most teams start by putting a bastion host in front of private servers. They give engineers broad shell roles so they can fix production issues fast. When these roles are too wide, one bad command can break a live server. Static keys also sit on laptops for months and create big security risks.

How a native proxy ssh provider setup works

In a standard OpenSSH setup, a bastion host sits on the network edge. Private servers sit in a locked network and only accept traffic from that bastion. Instead of copying static public keys to every server, teams use OpenSSH certificates. A central authority key signs a user public key to create a certificate. This certificate holds a public key, an identity string, and a list of principals.

Principals are the user or host names that the certificate allows for login. OpenSSH certificates use a much simpler format than standard web TLS certificates. When you sign a key, you also set a time window for it. If you do not set a time limit, the certificate works forever by default. Target servers trust the central authority key and let valid users log in.

How OpenSSH handles host trust and login rules

The authority key can also sign host certificates for your servers and bastion. When a user connects, their client checks the host certificate against the authority key. This step stops fake server warnings and protects the team from network tricks. Admins can also bake basic limits right into a user certificate during signing. For example, a certificate can name the single script a user must run.

Managing these rules across dozens of servers takes a lot of daily work. Every time an engineer needs a different tool, you must sign a new key. Because that takes time, most teams skip command rules and grant full shell logins. They rely on the bastion to block outsiders while trusting everyone inside the network.

Database Proxy (ProxySQL, PgBouncer) + SSH Access Management: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

What native SSH setups solve and what they miss

A bastion host and OpenSSH certificates solve the problem of who can log in. They cut down the number of public ports on your private cloud network. Short certificate time windows also stop old keys from working after a person leaves. Still, native SSH setups only check the user at the start of a session.

Once the shell opens, the server does not check individual commands in flight. A user with a valid certificate can run destructive scripts or read secret files. Standard host logs show that a login happened, not what the user typed next. If a command prints emails, phone numbers, card numbers, or national IDs, raw data appears. Native SSH has no built-in way to rewrite matched fields in results on screen.

Inspect one-shot SSH commands and file tasks

SSH certificates and host rules decide who is allowed on a machine. Setup alone does not check single commands or block sftp reads on sensitive paths. By design, hoop.dev runs an open-source SSH listener on the host where people and agents keep their normal ssh, sftp, and scp tools.

First, hoop.dev guardrails check one-shot commands and file paths before they run. Next, hoop.dev data masking masks matched values in file downloads. The audit trail logs the certificate principal, requested action, and verdict without storing session content. Interactive shells carry no guardrails and can be turned off when every action must be checked. Explore the code on GitHub.

Frequently asked questions

How do OpenSSH certificates differ from static SSH keys?

Static keys need manual copying to every server and never expire on their own. An OpenSSH certificate adds an identity, allowed user names, and an expiration date. A central authority key signs it so servers trust it right away.

What happens if you omit the validity window on an OpenSSH certificate?

If you do not set a time limit during signing, the certificate stays valid forever. Teams should always set a short window so old certificates expire on their own.

Why does a bastion host still leave a security gap during SSH sessions?

A bastion host only checks who can connect and open a network path. It does not check the safety of individual shell commands or mask sensitive output.

The query runs. The emails stay hidden.