Re: How to run tmux commands from remote ssh session

2012-08-22 Thread Stephen Thirlwall
On 23/08/12 5:32 AM, Pavlos Parissis wrote:> On 21 August 2012 13:14, Stephen Thirlwall wrote: >> On 21/08/12 8:10 PM, Nicholas Marriott wrote: >>> Hi >>> >>> You need to ssh back into the server running tmux to run the command. >> >> Thanks Nicholas. >> >> Seems so obvious now :) >> >

Re: How to run tmux commands from remote ssh session

2012-08-22 Thread Pavlos Parissis
On 21 August 2012 13:14, Stephen Thirlwall wrote: > On 21/08/12 8:10 PM, Nicholas Marriott wrote: >> Hi >> >> You need to ssh back into the server running tmux to run the command. > > Thanks Nicholas. > > Seems so obvious now :) > > I am curious to know how you manage it. ---

Re: How to run tmux commands from remote ssh session

2012-08-21 Thread Stephen Thirlwall
On 21/08/12 8:10 PM, Nicholas Marriott wrote: > Hi > > You need to ssh back into the server running tmux to run the command. Thanks Nicholas. Seems so obvious now :) Steve -- Live Security Virtual Conference Exclusive

Re: How to run tmux commands from remote ssh session

2012-08-21 Thread Nicholas Marriott
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, a

Re: How to run tmux commands from remote ssh session

2012-08-21 Thread Stephen Thirlwall
Hi Jim, As you guessed, I am looking for a way to run scripts on the the remote server. Coincidentally though, this command-prompt mode actually helps me a bunch with something else I've been playing with, as this executes in 'interactive' context, like key bindings do. So thanks Jim - it has

Re: How to run tmux commands from remote ssh session

2012-08-20 Thread Jim Myhrberg
Hi Steve, this might not be exactly what you're looking for (as it won't work from scripts executed on the remote server), but it might solve your problem. Try hitting ` :` This triggers the tmux's `command-prompt` command, which lets you enter tmux commands directly. Personally I use it to cr

How to run tmux commands from remote ssh session

2012-08-19 Thread Stephen Thirlwall
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 doesn't wo