ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33718] - No Authentication possible by a given keyfile
Date Mon, 07 Mar 2005 20:06:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33718>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33718





------- Additional Comments From bugzilla@soebes.de  2005-03-07 21:06 -------
> The problem here is that the scp task insists on having a passphrase when using
> key authentication, but it is quite possible to have a key without a passphrase!
> 
> You can trick the task by specifying a passphrase that consists of a single
> space...
Ok. That worked but now i got the following message if i try to transfer
a while dir tree... 

/home/kama/public_html/www.soebes.de.neu/build.xml:63: server indicated an
error: scp: protocol error: received directory without -r
        at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:187)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: server indicated an error: scp: protocol error: received directory
without -r
        at
org.apache.tools.ant.taskdefs.optional.ssh.AbstractSshMessage.waitForAck(AbstractSshMessage.java:93)
        at
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.sendDirectoryToRemote(ScpToMessage.java:156)
        at
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.sendDirectory(ScpToMessage.java:142)
        at
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.doMultipleTransfer(ScpToMessage.java:125)
        at
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.execute(ScpToMessage.java:87)
        at org.apache.tools.ant.taskdefs.optional.ssh.Scp.upload(Scp.java:234)
        at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:174)
        ... 10 more
--- Nested Exception ---
server indicated an error: scp: protocol error: received directory without -r
        at
org.apache.tools.ant.taskdefs.optional.ssh.AbstractSshMessage.waitForAck(AbstractSshMessage.java:93)
        at
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.sendDirectoryToRemote(ScpToMessage.java:156)
        at
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.sendDirectory(ScpToMessage.java:142)
        at
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.doMultipleTransfer(ScpToMessage.java:125)
        at
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.execute(ScpToMessage.java:87)
        at org.apache.tools.ant.taskdefs.optional.ssh.Scp.upload(Scp.java:234)
        at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:174)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

Total time: 4 seconds



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message