[ http://jira.codehaus.org/browse/WAGONSSH-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101136 ]
Jan Torben Heuer commented on WAGONSSH-52: ------------------------------------------ Had the same problem, -Duser.name=.. fixed it! This critical bug has not been fixed within one year - is it likely to be fixed in future? If not, will it be honored in the FAQ or the documentation? Other question, can I globaly set this option? (in my pom or in my settings.xml?) > scpexe won't honour .ssh/config information > ------------------------------------------- > > Key: WAGONSSH-52 > URL: http://jira.codehaus.org/browse/WAGONSSH-52 > Project: wagon-ssh > Issue Type: Bug > Affects Versions: 1.0-alpha-6 > Reporter: Michael Semb Wever > > scp test.xml > sch-login01.osl.basefarm.net:/www/schibstedsok/data/httpd/dev.schibstedsok.no_443/htdocs/maven2/schibstedsok/commons-log4j/1.3-SNAPSHOT/test.xml > > from the command line works just fine. > My local username is mick, and my login on the sch-login01 machine is mickw. > Correspondingly my .ssh/config file contains: > Host sch-login01.osl.basefarm.net > User mickw > My pom.xml specifies: > <distributionManagement> > <repository> > > <url>scpexe://sch-login01.osl.basefarm.net/www/schibstedsok/data/httpd/dev.schibstedsok.no_443/htdocs/maven2</url> > But when running "mvn deploy" I get: > Uploading: > scpexe://sch-login01.osl.basefarm.net/www/schibstedsok/data/httpd/dev.schibstedsok.no_443/htdocs/maven2/schibstedsok/commons-log4j/1.3-SNAPSHOT/commons-log4j-1.3-20060831.163911-1.jar > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error deploying artifact: Error executing command for transfer > Exit code 255 - Permission denied (publickey,password,keyboard-interactive). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira