Re: webpage publishing

Bram Moolenaar <[email protected]> Tue, 05 Oct 2004 11:53:57 +0200
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Malte Neumann wrote:

> I have been using aap for quite a while now to publish a webpage via ftp.
> That work very nicely and comfortably.
> 
> Now the configuration of the webserver has changed, and only scp is allowed
> for the file transfer. Unfortunately it is not possible to place a key on the
> server, so the password has to be used for authentification.
> 
> My problem now is, that aap asks for the password for every file that has to
> be transmitted. Using ftp I was only asked once for the password and it was
> used for all files that were transmitted during that aap session. Is this
> behaviour also possible for scp?

For ftp Aap opens an ftp session and reuses it to transfer more files.
For scp Aap tries to collect a number of files that can be copied with
one scp command, but often another scp command has to be used (e.g.,
when the destination is a different directory).  Thus you have to type
your password again.

I'm not sure if it is possible to use scp in some interactive way,
feeding it a sequence of copy commands.  Perhaps ssh would need to be
used, but that would involve implementing our own scp command.

Perhaps something can be done with ssh-agent?  I don't quite understand
how it works.  The manual page doesn't mention passwords.

-- 
hundred-and-one symptoms of being an internet addict:
86. E-mail Deficiency Depression (EDD) forces you to e-mail yourself.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl