>_ linuxcommand.dev
Startseite SSH_AUTH_SOCK
Security

SSH_AUTH_SOCK

Unix socket path to the SSH agent for key-based authentication.

Ubuntu Debian Arch Fedora CentOS SUSE Alpine macOS FreeBSD
Verified: 2026-05-12
Syntax
$echo $SSH_AUTH_SOCK
Examples
$echo $SSH_AUTH_SOCK
$ssh-add -l
Typical use cases
?
Standard usage
SSH_AUTH_SOCK --help
Note Enables agent forwarding and key use without copying private keys to remote hosts.
Export