Timeline for Getting a pid for an ssh process that backgrounded itself
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 30, 2017 at 8:46 | vote | accept | dlamblin | ||
| Feb 11, 2021 at 2:33 | |||||
| Aug 29, 2017 at 10:13 | comment | added | terdon♦ | @dlamblin if that's all you want, use pkill -f 'ssh -D localhost:808[89]' (see updated answer). | |
| Aug 29, 2017 at 10:12 | history | edited | terdon♦ | CC BY-SA 3.0 | added 151 characters in body |
| Aug 29, 2017 at 10:10 | comment | added | dlamblin | Thanks; for my purposes I used for P in ``ps -ax |grep 'ssh -D localhost:808[89] -fN'|cut -d ' ' -f 1``; do kill $P; done but not with double back-ticks, that's a md commenting thing going on here. | |
| Aug 29, 2017 at 9:16 | history | answered | terdon♦ | CC BY-SA 3.0 |