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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Using an <scp> Task using the following:

<scp keyfile="/home/kama/keys/${scp.key.file}"
     file="index.html"
     todir="[EMAIL PROTECTED]:${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 [EMAIL 
PROTECTED]: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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to