Screen is very useful tool in case when it's necessary to start remote command without wait for its completeness. But by default it doesn't allow to detach screen without an actual terminal:$ ssh Server "screen -m -d echo test"
Must be connected to a terminal.
The solution is to use ssh's -t flag:$ ssh -t Server "screen -m -d echo test"
A bit about
Hello, everyone! All you can see below is just my bank of information. Some material I've found in the fathomless net, some I've learned myself. Don't think all of the information here is right or actual, but may be it could be of use for you :) All feedback is welcome, especially constructive ones :)
Thursday, October 22, 2009
Linux: start remote detached screen
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment