Re: Automation Sans Window Server
Re: Automation Sans Window Server
- Subject: Re: Automation Sans Window Server
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 16 Apr 2008 09:07:34 -0400
On Wed, Apr 16, 2008 at 7:11 AM, Philip Aker <email@hidden> wrote:
> Although this came up in the context of other Macs, I've long wanted to ssh
> into my server on the assumption it might be more convenient than ftp.
> True?
That depends on what you consider convenient. Having SSH available
does make many things easier. For instance, I use rsync to keep a
local copy of my website in synch with the copy on my server. The
transport used by rsync to communicate between the servers is ssh.
As a general rule, I prefer to type in a single long command that
includes all the info necessary, so that when I hit the Enter key
everything is done and the next time I have to type is to start some
new command. I get annoyed by programs which don't give me that
option, and instead require me to supply at most partial information
up front, after which I'm prompted for additional data along the way.
Yuck. I mean, interactivity is fine when I'm figuring something out,
but once I've got it down, I don't want to have to wait for the
computer to ask me a question; I want to give the answers up front.
In the sandwich shop I say "I'd like a six-inch turkey club on whole
wheat with provolone, lettuce, pickles, tomatoes, onions and light oil
and vinegar." I'll go slowly so that they don't get lost, but I hate
the Q&A version: "Six-inch whole wheat, please. Turkey club." "What
kind of cheese?" "provolone". "lettuce?" "yes" etc etc.
Viewed in that light, scp is much better than ftp, since ftp is an
interactive thing. (I'm talking about the client and the interaction
pattern, rather than the protocol. If all you do with ftp is feed
ftp:// URL's to wget or curl, then that's about the same level of
interactivity as scp. Conversely, if you use sftp, then you get an
interface that looks like ftp but is using ssh behind the scenes.)
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden