Re: Remote delete files?
- From: Markus Kossmann <markus.kossmann@xxxxxxx>
- Date: Wed, 03 Jan 2007 12:45:47 +0100
Open a ssh shell as normal user on the remote machine and and then get root
How to delete files that exist on remote servers, given that only
secure method is allowed?
If you have ssh access you can write the command in one line like this:
ssh remote-host rm /path/to/file/that/should/be/deleted
happy too earlier...one more problem...
the file is owned by the root, but my ssh can't allow root login, is it
possible to do using this approach?
rights with su ( or sudo) in that ssh shell.