On 19 December 2013 17:22, Rudolf Sykora <[email protected]> wrote:
> Hello everyone,
>
> already for some time I've been using secstored+factotum+ssh-agent
> on linux with p9p. The machine, call it 1, runs basically all the time and
> let's presume I am logged on it all the time, too.
> The problem/inconvenience I've had is when I connect to this machine
> via ssh and want to use the system to connect to yet another machine,
> call it 2.
> The best would be if all worked transparently and as soon as I manage
> to log in to machine 1 I could easily proceed an use the running
> ssh-agent to get me to machine 2. However, I don't know how to set this
> up.
on plan 9, to use the terminal's factotum simply
bind /mnt/term/mnt/factotum /mnt/factotum
since p9p uses unix domain sockets, it would be a matter of forwarding
the unix domain socket through the ssh tunnel. i have no idea if that's
done, or possible. but if it were, it could be a general solution for plumbing,
etc.
also, security implications are left to the reader. :-).
- erik