Hi,
A search for 'tmux SSH_AUTH_SOCK' brings up about 8000 pages of hacked
up scripts.
The solution can be simpler if one can just do something like:
$ export SSH_AUTH_SOCK=$(tmux show-environment -t <current-client>
SSH_AUTH_SOCK)
where '<current-client>' is some way to refer to current client,
and '-t target-client' is some new flag to show-environment to access
client's environment.
To me more clear, this '-t target-client' should make the 'tmux server'
request the environment
from the 'tmux client' attached to that tty. This 'client tmux' process
will be a child of the
sshd, and hence have the correct SSH_AUTH_SOCK.
Makes senses ? Doable ?
--
Regards
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users