the remote host refused your connnection,i think. Can you ssh into that box? -D
On 4/12/06, Tom Joad <[EMAIL PROTECTED]> wrote: > > Hi folks, > I never suceed with deploy:deploy-file. > My OS is windows and i installed scp ssh for windows. > My remote repository is a maven-proxy .Here is my settings.xml > > <settings><interactiveMode>TRUE</interactiveMode> > <localRepository>C:/repository</localRepository> > <proxies> > <proxy><protocol>http</protocol> > <port>3128</port><host>proxy1.bercy.cp</host></proxy></proxies> > <servers><server> > <id>up22a</id><username>USER</username><password>PASSWD</password> > <filePermissions>664</filePermissions> > <directoryPermissions>775</directoryPermissions> > <privateKey>.ssh/known_hosts</privateKey> > > </server></servers><mirrors><mirror><mirrorOf>central</mirrorOf><name>proxy > dgcp-repo</name><url>http://10.21.240.120:9999/repository > </url><id>local-proxy</id></mirror></mirrors></settings> > > I use commandline mvn deploy:deploy-file > > C:\tempo>mvn -e -X deploy:deploy-file -DgroupId=org.apache.tomcat > -DartifactId=jasper-compiler -DgeneratePom=true -Dvers > ion=5.5.15 -Dpackaging=jar -DrepositoryId=up22a > -Durl=scpexe://10.21.240.120:9999 > /repository -Dfile=jasper-compiler.jar > > and i get > [DEBUG] adding permissions to wagon connection: 664 775 > Uploading: > scpexe://10.21.240.120:9999/repository/org/apache/tomcat/jasper-compiler/5.5.15/jasper- > compiler-5.5.15.jar > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error deploying artifact: Error executing command for transfer > > Exit code 255 - ssh_exchange_identification: Connection closed by remote > host > I don't know where I'm wrong. > If i use http instead of scp I get > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error deploying artifact: Unable to transfer file. > HttpURLConnection returned the response code: 400 > > [INFO] > ------------------------------------------------------------------------ > > I don't know where I'm wrong. > Please Help. > > Tom > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
