Re: webpage publishing
Malte Neumann <[email protected]> Tue, 5 Oct 2004 16:29:16 +0200
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Oct 05, 2004 at 11:53:57AM +0200, bram moolenaar wrote: > > 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. For ftp it is possible to give the password in the "publish" attribute and one will not be asked for it later. This does not work with scp. For me this would have been a possibility to solve my problem. But this is just an idea I came across while trying around. I now managed to place a key on the server. The problem was, that no ssh connection is allowed on the server, only scp is possible. But using aap to move the key-file to the server the missing directory .ssh was somehow created. Thanks to everybody how responded. Malte > 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. -- Malte Neumann Institute of Structural Mechanics, University of Stuttgart, Germany http://www.uni-stuttgart.de/ibs/members/neumann/ ------------------------------------------------------- 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