Thread
:
Returning the PID of a ssh process
View Single Post
#
3
(View Single Post)
14th September 2015
gso
Port Guard
Join Date: Nov 2014
Posts: 35
There will be other ssh instances running, I'd have to parse the command line arguments.
pgrep with '-x' and '-n' flags after pausing the script a few milliseconds is what I have been doing.
Last edited by gso; 14th September 2015 at
02:56 PM
.
gso
View Public Profile
Find all posts by gso