[ http://jira.codehaus.org/browse/WAGON-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated WAGON-152: ------------------------------- Fix Version/s: 1.0-beta-3 > scpexe won't honour .ssh/config information > ------------------------------------------- > > Key: WAGON-152 > URL: http://jira.codehaus.org/browse/WAGON-152 > Project: Maven Wagon > Issue Type: Bug > Components: wagon-ssh > Reporter: Michael Semb Wever > Fix For: 1.0-beta-3 > > > 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