>From the build server use command console or shell, type "ssh user@<remoteserver>" if the remoteserver is asking your password, that means your ssh connection is not setup correctly. Supposely you don't need to supply any password, which means "build server" is a trust of the "remote server".
there are many reason could resulting this, you can trouble shoot by looking at the log of remote server locate something like /var/secure/log If this is not the case, then you need to verify if privateKey is referenced by the maven. CasMeiron wrote: > > Hi... i configured an scp connection to update my site and remote > repository > in pom.xml. > I have a extra settings.xml in the pom directory. When i run "maven > deploy" > or "maven site:deploy" maven keep asking me the password of connection. > The login and password is setted on settings.xml like: > <settings> > <servers> > <server> > <id>site</id> > <username>sitelogin</username> > <!-- Default value is ~/.ssh/id_dsa > <privateKey>/path/to/identity</privateKey> (default is > ~/.ssh/id_dsa) > //--> > <passphrase>sitepass</passphrase> > </server> > <server> > <id>remote-repo</id> > <username>remoteuser</username> > <!-- Default value is ~/.ssh/id_dsa > <privateKey>/path/to/identity</privateKey> (default is > ~/.ssh/id_dsa) > //--> > <passphrase>remotepass</passphrase> > </server> > </servers> > </settings> > > Its my fault or maven should use the passphrase element value as password > of > connection? > The pom looks like this: > ... > <distributionManagement> > <site> > <id>site</id> > <url>scp://siteURL:PORT/path</url> > </site> > <repository> > <id>remote-repo</id> > <name>bla bla bla</name> > <url>scp://remoteURL:PORT/path</url> > <uniqueVersion>false</uniqueVersion> > </repository> > ... > -- > Paulo Cesar Silva Reis > ------------------------------- > Powered by GMAIL > > -- View this message in context: http://www.nabble.com/maven-%22deploy%22-keep-asking-me-the-password-of-scp-connection-tf4798967s177.html#a13732224 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]