You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/02/23 22:31:53 UTC

DO NOT REPLY [Bug 33718] New: - No Authentication possible by a given keyfile

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

           Summary: No Authentication possible by a given keyfile
           Product: Ant
           Version: 1.6.2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: bugzilla@soebes.de


Using an <scp> Task using the following:

<scp keyfile="/home/kama/keys/${scp.key.file}"
     file="index.html"
     todir="${scp.user}@${scp.host}:${scp.destination}" />
This will result in the Message:
"neither password nor passphrase for user root has been given.  Can't authenticate"

I have taken a look into the Ant sources where i have found the
File scp.java (Method parseUri ()) where it will be checked the user@host:dest
combination but it will be ignored that i have given a keyfile.

BTW: The functionality is described in the Ant Manual.

-- 
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