Hi Andrey, The error you are getting is from the scp executable. You might need to check that your settings.xml contains the appropriate key information for the archiva.tags server. If you run with -X you might get some more info, and can try and replicate the exact scp command from the command line.
Did you adjust the repository URL to be of the form of scpexe://host/path/to/archiva/repository ? You might also get support from the Maven user's list on this, since it's not particularly specific to Archiva. Please note that Archiva will only pick up new artifacts SCP'd into its filesystem at a regular scanning interval, where artifacts posted by HTTP/WebDAV are indexed immediately. - Brett On 18/07/2013, at 1:34 AM, Andrey Bukhman <bukh...@zib.de> wrote: > Hi. > I have the Problem by trying to change the protokoll from WebDav to SCP to > transfer data. > With WebDav everithing works fine i have such a code in my pom.xml > <repository> > <id>archiva.tags</id> > <name>Tags Repository</name> > <url>dav:${archiva.tags.repository.url}</url> > </repository> > > <extension> > <groupId>org.apache.maven.wagon</groupId> > <artifactId>wagon-webdav</artifactId> > <version>1.0</version> > </extension> > > In your web site i found foolowing: > http://archiva.apache.org/docs/1.4.0-SNAPSHOT/userguide/deploy.html > "You can also deploy to the Archiva server using traditional means such as > SCP, FTP, etc. > For more information on these deployment techniques, refer to the Maven > documentation." > > I want to change WebDav to SCP. > I cound not found any information what i need to change? > i tried following: > > <repository> > <id>archiva.tags</id> > <name>Tags Repository</name> > <url>scp:${archiva.tags.repository.url}</url> > </repository> > > <extension> > <groupId>org.apache.maven.wagon</groupId> > <artifactId>wagon-ssh-external</artifactId> > <version>1.0</version> > </extension> > > I tried in diferent combination, but it does not work. > I receive always the same mistake:" Exit code: 1 - > ssh_exchange_identification: Connection closed by remote host" > > > Thanks Andrey Bukhman -- Brett Porter br...@apache.org http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter http://twitter.com/brettporter