Michael Torrie wrote: > 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.
Cool idea! Maybe the "remote" PTY cannot operate SIGWINCH and the like with an ssl transport. > Anyway I plan to upload my scripts to my wiki pretty soon if anyone is > interested. Count me! clemens ------------------------------------------------------------------------------ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users