Re: delete a file that found on different machine

From: Alon (noSpam_at_hotmail.com)
Date: 06/29/03


Date: Sun, 29 Jun 2003 08:49:38 +0300

Now i'm informed that i'm not allowed to used ssh
or any other software that needed to be specially installed, so curl is also
not appropriate.

How can I do that by using system() to call the ftp command or script file?
Can you show me an example of such script?
because when im calling the ftp command by script, the next lines in the
scripts
that supposed to enter the username and password are launced after the
ftp process is over.

thanks,
alon

"Anna Seg" <segfault@removethis.noao.edu> wrote in message
news:bdfakg$1n7l$1@noao.edu...
> Alon wrote:
> > Hi,
> >
> > How can I delete a file that found on different machine?
> > Both of the machines have UNIX system,
> > And i am programming in C.
>
> You can use ssh w/out password prompting, if you set it up to use public
> key authentication. See the man pages for ssh.
>
> [user@machine]$ ssh othermachine rm badfile
>
> -Anna-
>



Relevant Pages

  • Re: pppd pty equivilent in FBSD
    ... I let pppd manage retries & setting routes. ... >I wouldn't personally recommend vpn over ssh for anyone either, ... I'm the sole bsd user at my company, and the ppp over ssh ... >Actual bash script I call: ...
    (freebsd-net)
  • Re: [kde-linux] Sessions names
    ... ssh 192.168.2.80??? ... You can write a wrapper script that would start ssh to some ip and rename the ... konsole session dynamically. ... dcop call to konsole you need to know the pid of konsole. ...
    (KDE)
  • Re: Hacker activity?
    ... >login to a server, most as root but some are attempts to login to ... >telnet, all come from the same remote server, and all fail. ... >getting some odd cgi calls to a script on a secure ssl server. ... Make sure root cannot login to your system via ssh. ...
    (freebsd-questions)
  • Re: Ive been hacked...tips for a postmortem?
    ... > for keywords, like the email address in the `mailme' script, see if it ... www.openssh.com) That SSH1 is not to be used for anything other than ... SSH at all. ... an SSH vulnerability is to place in your startup scripts (usually rc.M, ...
    (comp.os.linux.security)
  • RE: SSH Connection
    ... Thank you Stephen, Marshall, Marin, Will and Wayne. ... Subject: SSH Connection ... > script there, then returns to complete the original script. ... > Database Administrator ...
    (RedHat)