[ http://jira.codehaus.org/browse/MNG-1764?page=comments#action_53040 ]
Nic commented on MNG-1764: -------------------------- And I did the same thing on my local machine from user root to user root. I've got the same result. (Exit code 255 - Permission denied (publickey,gssapi-with-mic,password).) As I understand, the root user can do everyting on the system, but the problem doesn't disappeared. > Failed to deploy to a remote repository > --------------------------------------- > > Key: MNG-1764 > URL: http://jira.codehaus.org/browse/MNG-1764 > Project: Maven 2 > Type: Bug > Components: maven-deploy-plugin > Versions: 2.0 > Environment: Linux Fedora, 32bit, Maven2 > Reporter: Nic > > > It seems that 'mvn deploy' doesn't work when deploying to a remoty repository > using scp/scpexe protocol > pom.xml: > ... > <distributionManagement> > <repository> > <id>corp-repository</id> > <url>scpexe://[EMAIL PROTECTED]/var/maven2/repos</url> > </repository> > <site> > <id>website</id> > <url>scpexe://[EMAIL > PROTECTED]/usr/local/apache2/htdocs/projects/proj1/</url> > </site> > </distributionManagement> > ... > settings.xml: > <servers> > <server> > <id>webserver</id> > <username>user</username> > <privateKey>~/.ssh/id_rsa</privateKey> > </server> > <server> > <id>corp-repository</id> > <username>user</username> > <privateKey>~/.ssh/id_rsa</privateKey> > </server> > </servers> > When I issue the command 'mvn site:deploy' - it works > When I issue the command 'mvn deploy' - it doesn't work. The reason is: Exit > code 255 - Permission denied (publickey,password). > When I issue the command 'scp a.file [EMAIL PROTECTED]:/var/maven2/repos' - > it works > I have no idea how to make 'mvn deploy' work. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
