Passwordless server actions with SSh
Passwordless server actions with SSh
- Subject: Passwordless server actions with SSh
- From: Gnarlodious <email@hidden>
- Date: Wed, 02 Mar 2005 18:34:07 -0700
Entity Malcolm Fitzgerald uttered this profundity:
> I'm trying to automate the removal of a file from the web server.
> Presently I'm using Interarchy and it works very well but I wonder how
> to do it via the shell. I can easily run sftp or ssh from the terminal
> but it's all going to be wrapped into an applescript so there won't be
> any user interaction. The web server insists on interactive log-in for
> sftp so that won't work. Is there a simple way to do this?
Like you said, SSh is the best way. What kind of OS is on the other end? Can
you set up SSh for passwordless login? Does the other OS have rsync? If so,
you can delete the offending file without entering a password.
-- Gnarlie's Applescript page:
http://Gnarlodious.com/Apple/AppleScript/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >(no subject) (From: Malcolm Fitzgerald <email@hidden>) |