Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

docs(pam): correct summaries that still describe CLI SSH as proxy-only

Andreya53dc3d3bc08
diff --git a/docs/cli/commands/pam.mdx b/docs/cli/commands/pam.mdx
index 6908572f3e..0fb2175cde 100644
--- a/docs/cli/commands/pam.mdx
+++ b/docs/cli/commands/pam.mdx
@@ -92,7 +92,7 @@ SSH accounts connect you directly to a shell on the target. Every other account
## Account types and behavior
-Based on the account's template, the CLI starts the appropriate local proxy or credential helper.
+Based on the account's template, the CLI connects you directly or starts the appropriate local proxy or credential helper. SSH accounts connect directly by default; every other type starts a proxy or credential helper.
<AccordionGroup>
<Accordion title="Databases (PostgreSQL, MySQL, SQL Server, MongoDB)">
diff --git a/docs/documentation/platform/pam/accounts/overview.mdx b/docs/documentation/platform/pam/accounts/overview.mdx
index f9b4f22286..2e82e96ad3 100644
--- a/docs/documentation/platform/pam/accounts/overview.mdx
+++ b/docs/documentation/platform/pam/accounts/overview.mdx
@@ -66,13 +66,15 @@ Go to **Privileged Access Management → Accounts**, find the account, and click
### CLI access
-Run the CLI command to start a local proxy:
+Run the CLI command for the account:
```bash
infisical pam access <folder>/<account>
```
-The command outputs the local port to connect to. Then connect with your preferred client (psql, pgAdmin, ssh, etc.) against `localhost` using that port. The proxy handles authentication automatically.
+For SSH accounts this connects you straight to a shell on the server. Add `--proxy` if you would rather point your own SSH client at a local port.
+
+Every other account type starts a local proxy and outputs the port to connect to. Then connect with your preferred client (psql, pgAdmin, etc.) against `localhost` using that port. The proxy handles authentication automatically.
**Flags:**
diff --git a/docs/documentation/platform/pam/accounts/ssh.mdx b/docs/documentation/platform/pam/accounts/ssh.mdx
index 359697f710..6b38b13971 100644
--- a/docs/documentation/platform/pam/accounts/ssh.mdx
+++ b/docs/documentation/platform/pam/accounts/ssh.mdx
@@ -4,7 +4,7 @@ sidebarTitle: "SSH"
description: "Add and connect to SSH servers."
---
-SSH accounts let you manage access to your Linux/Unix servers. Users connect through Web Access (a browser-based terminal) or CLI (a local proxy), and every [session](/documentation/platform/pam/sessions/overview) can be recorded.
+SSH accounts let you manage access to your Linux/Unix servers. Users connect through Web Access (a browser-based terminal) or the CLI, which drops you straight into a shell on the server (a local proxy is available with `--proxy` for your own SSH client). Every [session](/documentation/platform/pam/sessions/overview) can be recorded.
SSH accounts support three authentication methods: password, public key, and certificate-based.
diff --git a/docs/documentation/platform/pam/concepts/session-lifecycle.mdx b/docs/documentation/platform/pam/concepts/session-lifecycle.mdx
index da89a0e6e8..c1d0cede2a 100644
--- a/docs/documentation/platform/pam/concepts/session-lifecycle.mdx
+++ b/docs/documentation/platform/pam/concepts/session-lifecycle.mdx
@@ -29,7 +29,7 @@ Once approved, the connection is established through the [Gateway](/documentatio
3. The Gateway connects to the actual database or server
4. Traffic flows through the Gateway — you never see the credentials
-For **Web Access**, this all happens in the browser. For **CLI Access**, the CLI starts a local proxy and you connect your preferred client to `localhost`.
+For **Web Access**, this all happens in the browser. For **CLI Access**, SSH accounts connect you straight to a shell, while every other type starts a local proxy you point your preferred client at on `localhost`.
## During the session