Well once you enabled telnet, use putty to login to the telnet server on the camera.
There you get prompted with a login, instructions in the OP of this thread.
After you've logged in you have a root shell on the cameras linux system. And that's where you put those commands in.
killall upgraded...