On 19Nov2016 17:16, bruce wrote:
After wayyy too long my ssh screen process to run a remote app via
screen works.. [...]
//--this crafts the initial named screen session.. no app detached..
ssh crawl_user@67.205.145.36 "screen -dmS 'crawlSession '
//--this then attaches to the named/det
AHAA!!!
High fives! fist bumps!
Rick (and others...)
After wayyy too long my ssh screen process to run a remote app via
screen works..
Really quite simple!
//--this crafts the initial named screen session.. no app detached..
ssh crawl_user@67.205.145.36 "screen -dmS 'crawlS
Hey Rick...
Thanks for the input. Really appreciate it.
The issue I seem to have involves how to attach to a screen that's been created.
I start the base process, with the following.
ssh crawl_user@159.203.185.29 "screen -d -m -S 'crawlSession' "
which creates a detached session.
Wha
On 11/18/2016 09:51 AM, bruce wrote:
> hmm...
>
> Think I resolved the issue of the ctrl-a d -- sequence, It appears
> screen -X allows for the use of tags, so the "detach" appears to be a
> substitute for the ctrl-A d sequence..
>
> However, I'm still flumoxed on how to run a background process
Good lord!
3 days later.. give or take.. still haven't gotten this to where it "works"..
Here's what I'm seeing and what I think is happening.
In my case, I want to start up a base instance/vm with a screen
session already defined, but the session is detached. The user that
created/started scree
hmm...
Think I resolved the issue of the ctrl-a d -- sequence, It appears
screen -X allows for the use of tags, so the "detach" appears to be a
substitute for the ctrl-A d sequence..
However, I'm still flumoxed on how to run a background process on the remote vm.
The following "should" work, but
On 11/18/2016 06:15 AM, bruce wrote:
> trivial it is!!
>
> My inability to solve this in a few mins, says more about me, than the
> difficulty of the prob!
>
> The following:
> ssh -t crawl_user@67.205.135.251 "screen -RDS crawlSession
>
> will attach to a detached named screen session.. the
trivial it is!!
My inability to solve this in a few mins, says more about me, than the
difficulty of the prob!
The following:
ssh -t crawl_user@67.205.135.251 "screen -RDS crawlSession
will attach to a detached named screen session.. the term pops up with
the attached screen from the SSH.. T
On 11/17/2016 09:47 AM, bruce wrote:
> Hey Rick...
>
> More testing
>
> Not sure if you can use the "-x -r" attributes at the same time.. I'll
> def check it though.
>
> As a kludge/workaround.. I did a quick screen -ls to check if the
> session was attached/detached, and implemented the rem
Hey Rick...
More testing
Not sure if you can use the "-x -r" attributes at the same time.. I'll
def check it though.
As a kludge/workaround.. I did a quick screen -ls to check if the
session was attached/detached, and implemented the remote app based on
that.. As I said a kludge ,but it work
On 11/17/2016 07:14 AM, bruce wrote:
> aha!!
>
> ok.. more testing, more insight into whats going on...
>
> the basic setup
> client box (boxA) - running the screen session 'test'
>
> local box (boxB) - invokes the ssh/screen/remote app
>
> test I)
> -running the test app on boxB that invokes
aha!!
ok.. more testing, more insight into whats going on...
the basic setup
client box (boxA) - running the screen session 'test'
local box (boxB) - invokes the ssh/screen/remote app
test I)
-running the test app on boxB that invokes the ssh/screen remote app
works if the test screen sessi
On 11/16/2016 05:58 PM, bruce wrote:
when I run the cmd from a test php... using backticks.. the remote
ssh/screen/app isn't run...
I suspect that when run that way, the process doesn't have a terminal so
some things might not work. Also, assuming you're running the php from
a web server, the
Hey guys..
I crafted a test php app to generate the test cmdline to ssh into the
remote box, attach to the screen, and fire off the testApp...
This works as expected from the cmdline...
I
su - crawl_user,
then run the cmd, take a look on another term, that's set to the
ipAddress. When I atta
14 matches
Mail list logo