2

So I've done something like this:

$ while true; do ssh sysremote -CN; done & disown %

In the ps -ef only ssh sysremote -CN is listed.

How do I kill the while loop?

naisanza
  • 170
  • 4

1 Answers1

1

Nevermind. I figured it out.

You find the shell it spawned from, kill the shell, everything goes away

naisanza
  • 170
  • 4