3
votes
3answers
120 views

Would there be anyway to know the origin account's username that ssh'ed into the server?

I initially git cloned a repo, when I push my work, within the post-receive hook, I would like to retrieve the origin acount's username who did the push. I know $SSH_CONNECTION and $SSH_CLIENT give ...