screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: send commands to a remote screen console


From: Trent W. Buck
Subject: Re: send commands to a remote screen console
Date: Thu, 13 Mar 2008 22:55:26 +1100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Thu, Mar 13, 2008 at 12:17:31PM +0100, Marco Strullato wrote:
> At first I execute "ssh address@hidden screen -d -m" to open and detach
> a console on a remote server.  Then I want to execute a command into
> this console and I execute "ssh address@hidden screen -X ls". I get
> this answer: "Connection to server closed."
> 
> However I can log into this server (I set up pki ssh auth) to login
> with keys.

You might need the -t switch to force ssh to allocate a tty:

    ssh -t address@hidden screeen -X screen top

See http://bugs.debian.org/461107.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]