> How do I delete a file after I've copied it with SCP? Is there some sort of > secure 'rm' command? ssh user at host 'rm /full/path/to/file' Should work. There's no srm (secure rm), you simply ssh to the machine and give it the command to execute.