On 05/31/2010 12:53 PM, clemens fischer wrote: > I wonder why socat or some other proxy cannot transparently send this > message like any other? Is the operating system supposed to transform > the fd's sent so they are usable by the receiver like dup'ed ones?
I did solve my problem, and I used socat. Basically here's the socat command that sends tmux to a remote server: socat SYSTEM:"tmux attach",pty,stderr OPENSSL:host:port,verify=0 The listener (remote host) runs socat like this (all on one line): socat openssl-listen:<port>,verify=0,keepalive=1,key=key,cert=cert stdio,raw,echo=0 socat creates a local pty which tmux is happy with, and connects it to a remote port (via ssl). So has the effect I was looking for. I wrapped things up in some nice scripts that do proper things like certificate verification for the ssl connection. The only thing that I'm not totally happy about is that the pty socat creates for tmux to run in is always 80x24. I don't know how to resize that at all. Anyway I plan to upload my scripts to my wiki pretty soon if anyone is interested. ------------------------------------------------------------------------------ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users