News for hackers. Stuff that matters.
Re:Tmux, for fun and profit by pyre on Wednesday April 11, 2012 @03:12AM (#3826347)

  > 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.

There are no comments on this comment yet.