Comment on Tmux, for fun and profitparentComments−pyre14y > I'm not sure why you need to set suid on tmux I guess I should have been clearer: > This also gets around the "GNU screen" suid root issue You can easily fix this. You can:1) Use a combination of ssh-agent fowarding and manually exporting the $SSH_AUTH_SOCK variable to switch between two users' ssh-agent sockets.2) Each user commits from a separate window/shell. Each window/shell has a separate ssh-agent running in it, with that user's ssh key ssh-add'd to it.Though, options 2 is less secure.
Comments
1) Use a combination of ssh-agent fowarding and manually exporting the $SSH_AUTH_SOCK variable to switch between two users' ssh-agent sockets.
2) Each user commits from a separate window/shell. Each window/shell has a separate ssh-agent running in it, with that user's ssh key ssh-add'd to it.
Though, options 2 is less secure.