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?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communitySo 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?
Nevermind. I figured it out.
You find the shell it spawned from, kill the shell, everything goes away