Re: : ssh and screen

Vic Gedris <[email protected]> Tue, 27 May 2014 12:00:47 -0400
Newsgroups gmane.org.user-groups.linux.tolug
Message-ID <CAGJJbzFfSW0A44BFwSA0qB6zeg5MsRRg2t=kLA6s7TXsEQEr-Q@mail.gmail.com>
Try Ca-a-d.  Your first screen session will see the "Ca", then pass
the "a" as a "Ca" to the second screen session.

-Vic

Vic Gedris - http://vic.gedris.org
Toronto, Ontario, Canada - http://www.junctiontriangle.ca


On Tue, May 27, 2014 at 11:48 AM, Randy Jonasz <[email protected]> wrote:
> Here's a question for all the sys admins out there.  I'm playing around with
> ssh and screen.  I'm invoking ssh with
>
> ssh -t server screen -S stable -rd || screen -S stable
>
> That works wonderfully.  But if I ssh from server to another with the same
> command, any Ca-d command terminates the first screen instance.  Is there a
> way to send commands to the second server's screen instance?
>
> Thanks!
>
> Randy
>
> --
> Do not ask who I am and do not ask me to remain the same:
> leave it to our bureaucrats and our police to see that our
> papers are in order. At least spare us their morality when
> we write.
> --Michel Foucault
>
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists