ssh and screen

Vic Gedris vic-2vUEnoANFF8dnm+yROfE0A at public.gmane.org
Tue May 27 16:00:47 UTC 2014


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 <rjonasz-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> 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





More information about the Legacy mailing list