problems using scp on Windows

[email protected] Wed, 14 Dec 2005 23:22:24 -0600 (CST)
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Hello,

I've been trying to use scp in a Windows machine and have failed in
various ways. I started with Cygwin and found that the server I'm
connecting to uses a version of SSH Secure Communications's server that
does not agree well with the OpenSSH scp in Cygwin.

My latest attempt tries to use the cmd interface completely on the Window=
s
side. AAP installed a copy of scp.exe it downloaded from a Putty related
site.
I can use this binary to manually connect to the remote server and upload
files. The problem comes when "aap.bat publish" tries to do it. Here is
some of the error messages I get:

- Part of the problem seems to be that aap incorrectly sets the path
separator for the remote directories

Options:
    verbose: 1
Values:
Targets:
    publish
Aap: Reading recipe "C:\Program Files\aap\Exec\aap-1.082\default.aap"
Aap: Finished reading recipe "C:\Program
Files\aap\Exec\aap-1.082\default.aap"
Aap: Reading recipe "main.aap"
Aap: Finished reading recipe "main.aap"
Aap: Adding default dependency for "clean"
Aap: Adding default dependency for "cleanmore"
Aap: Building targets specified on command line
Aap: 1 - updating target "publish"
Aap: 2 - Using dependency "publish : index.html homepage.jpg
enron/index.html styles\homepage.css publications\art-ijcai05.pdf"
Aap: 3 - updating target "index.html"
Aap: 4 - Using dependency "index.html : index.tmpl"
Aap: 5 - updating target "index.tmpl"
Aap: 5 - Target has no build commands and exists: "index.tmpl"
Aap: 5 - Unknown type of file, no dependency check for "index.tmpl"
Aap: 3 - Target "index.html" is up-to-date
Aap: 3 - updating target "homepage.jpg"
Aap: 3 - Target has no build commands and exists: "homepage.jpg"
Aap: 3 - updating target "enron\index.html"
Aap: 4 - Using dependency "enron/index.html : enron/index.tmpl"
Aap: 5 - updating target "enron\index.tmpl"
Aap: 5 - Target has no build commands and exists: "enron\index.tmpl"
Aap: 5 - Unknown type of file, no dependency check for "enron\index.tmpl"
Aap: 3 - Target "enron\index.html" is up-to-date
Aap: 3 - updating target "styles\homepage.css"
Aap: 3 - Target has no build commands and exists: "styles\homepage.css"
Aap: 3 - updating target "publications\art-ijcai05.pdf"
Aap: 3 - Target has no build commands and exists:
"publications\art-ijcai05.pdf"
Aap: 3 - Unknown type of file, no dependency check for
"publications\art-ijcai05.pdf"
Aap: 1 - Updating "publish" from "index.html homepage.jpg enron\index.htm=
l
styles\homepage.css publications\art-ijcai05.pdf": virtual target
Aap: Publishing
"styles\homepage.css[scp://[email protected]/public_html/%file%]": no old
signature for "styles\homepage.css"
Aap: Publishing
"publications\art-ijcai05.pdf[scp://[email protected]/public_html/%file%]":
no old signature for "publications\art-ijcai05.pdf"
Aap: Publishing
"enron\index.html[scp://[email protected]/public_html/%file%]": no old
signature for "enron\index.html"
Aap: Publishing "index.html[scp://[email protected]/public_html/%file%]": no
old signature for "index.html"
Aap: Publishing "homepage.jpg[scp://[email protected]/public_html/%file%]":
no old signature for "homepage.jpg"
Aap: Uploading ['styles\\homepage.css'] to
scp://[email protected]/public_html/styles\homepage.css
Aap: {interactive} "c:\Program Files\aap\Exec\aap-1.082\bin\scp.exe" -p
'G:\web\prep\styles\homepage.css'
'[email protected]:public_html/styles\homepage.css'
Aap: Cannot upload "G:\web\prep\styles\homepage.css" to
"scp://[email protected]/public_html/styles\homepage.css"
Aap: Uploading ['publications\\art-ijcai05.pdf'] to
scp://[email protected]/public_html/publications\art-ijcai05.pdf
Aap: {interactive} "c:\Program Files\aap\Exec\aap-1.082\bin\scp.exe" -p
'G:\web\prep\publications\art-ijcai05.pdf'
'[email protected]:public_html/publications\art-ijcai05.pdf'
Aap: Cannot upload "G:\web\prep\publications\art-ijcai05.pdf" to
"scp://[email protected]/public_html/publications\art-ijcai05.pdf"
Aap: Uploading ['enron\\index.html'] to
scp://[email protected]/public_html/enron\index.html
Aap: {interactive} "c:\Program Files\aap\Exec\aap-1.082\bin\scp.exe" -p
'G:\web\prep\enron\index.html'
'[email protected]:public_html/enron\index.html'
Aap: Cannot upload "G:\web\prep\enron\index.html" to
"scp://[email protected]/public_html/enron\index.html"
Aap: Uploading ['index.html', 'homepage.jpg'] to
scp://[email protected]/public_html

Andres


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick