|Subject:||Re: send commands to a remote screen console|
|Date:||Thu, 13 Mar 2008 14:19:23 +0100|
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
screen-users mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|