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
successful login
screen -S foo -X exec echo hello world                    # terminal 1
shows "Filter running...u...@example.com", and nothing happens


This seems like some kind of security thing, but I don't see anything
about filters in the manual. How can I send commands to screen to
achieve an ssh login and then execute commands in that screen session
which are executed on the remote server?

Thanks

-Toby

_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to