Hi You need to ssh back into the server running tmux to run the command.
On Mon, Aug 20, 2012 at 10:37:17AM +1000, Stephen Thirlwall wrote: > Lets say I've got a tmux session running locally with two windows, and in > window 2 I run: ssh remotehost > > So I've got window 1 with a local shell, and window 2 with a remote shell. > > In window 1 I can do things like tmux lsp or tmux split-window, > but window 2 is a 2nd-class citizen: tmux <cmd> doesn't work. > > Is there some ssh-tunnel magic or something I can use so that remote > invocations of tmux <cmd> talk back to the local tmux server? > > > Steve > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users