Skip to content

Commit 2e18922

Browse files
authored
Update ssh_agent_forwarding.md
1 parent 2dec93c commit 2e18922

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ssh_agent_forwarding.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ Mac 关于 ssh agent 的默认行为([参考](https://code.visualstudio.com/do
411411
- 不会默认设置 `SSH_AGENT_PID` 环境变量
412412
- 默认启动的 ssh agent 不加载任何私钥
413413
- 查看默认 ssh agent 进程 的 pid:`lsof /private/tmp/com.apple.launchd.CBa7idWY89/Listeners`
414+
- 一键查看 Mac ssh agent 的 pid:`lsof $SSH_AUTH_SOCK`
414415

415416

416417
## Linux 中 ssh agent 的默认行为

0 commit comments

Comments
 (0)