has to
> be inside the quotes.
>
> On Thu, Aug 26, 2010 at 12:54 PM, Toby Matejovsky
> wrote:
>>
>> I'm trying to send a command to a screen which is also in an ssh session.
>>
>> terminal 1:
>> screen -S foo
>>
>>
>> terminal 2:
>
I'm trying to send a command to a screen which is also in an ssh session.
terminal 1:
screen -S foo
terminal 2:
screen -S foo -X exec echo hello world# terminal 1
executes "echo hello world" as expected
screen -S foo -X exec ssh u...@example.com# terminal 1 shows a
su