Skip to content

Comments

Add ssh-agent-socket subcommand#314

Open
rcdailey wants to merge 1 commit intodoy:mainfrom
rcdailey:ssh-agent-socket-subcommand
Open

Add ssh-agent-socket subcommand#314
rcdailey wants to merge 1 commit intodoy:mainfrom
rcdailey:ssh-agent-socket-subcommand

Conversation

@rcdailey
Copy link

@rcdailey rcdailey commented Feb 6, 2026

Summary

  • Add rbw ssh-agent-socket subcommand that prints the SSH agent socket path
  • Makes SSH_AUTH_SOCK setup platform-agnostic, especially for macOS where
    XDG_RUNTIME_DIR is unset and the fallback path through TMPDIR is opaque

Usage becomes:

export SSH_AUTH_SOCK="$(rbw ssh-agent-socket)"

Relates to #295.

@rcdailey rcdailey force-pushed the ssh-agent-socket-subcommand branch from 37e2e97 to e28c58e Compare February 6, 2026 15:16
Makes it easy to set SSH_AUTH_SOCK on any platform,
especially macOS where the path is non-obvious.
@rcdailey rcdailey force-pushed the ssh-agent-socket-subcommand branch from e28c58e to d5d8102 Compare February 6, 2026 15:26
@rcdailey
Copy link
Author

rcdailey commented Feb 6, 2026

The lint failure is a pre-existing cargo deny advisory (RUSTSEC-2026-0007, integer overflow in BytesMut::reserve) unrelated to this PR. The advisory was published after the last main branch CI run on Jan 10, so main would hit the same failure today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant