feat: add SSH CLI access to PAM revamp#274
Conversation
Wire SSH account type into the new path-based `pam access` flow. Starts a local TCP proxy and prints connection info with hint commands, matching the database proxy pattern.
|
💬 Discussion in Slack: #pr-review-cli-274-feat-add-ssh-cli-access-to-pam-revamp Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel. |
|
| Filename | Overview |
|---|---|
| packages/pam/local/access.go | Added startSSHAccess and printSSHSessionInfo to wire SSH account type into the PAM access flow; minor issues with empty username guard, mixed stdout/stderr output, and missing username in log context. |
| packages/pam/local/ssh-proxy.go | Significantly simplified — removed the old SSH-client-launching logic (launchSSHClient, waitForSSHCompletion, SSHAccessOptions, StartSSHLocalProxy) and the sshProcess/options/sshExitCode fields; now a clean proxy-only server matching the database proxy pattern. |
Reviews (1): Last reviewed commit: "feat: add ssh cli access to pam revamp" | Re-trigger Greptile
Match the database banner's `if username != ""` check for consistency.
PR overviewAll previously flagged issues have been addressed. No open security concerns remain on this pull request. Security reviewNo open security issues remain on this pull request. Fixed/addressed: 1 · PR risk: 0/10 |
Description
Wire SSH account type into the new path-based
pam accessflow so it starts a local proxy and prints connection info, matching the database proxy pattern.Type of change