maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "spa6@sporty.org" <s...@sporty.org>
Subject Re: [m2] scp/sftp deployment on non standard ports
Date Wed, 12 Oct 2005 16:50:44 GMT
Nevermind the dork who doesn't know that the url should be

scp://sporty.org:4812/testRepository

spa6@sporty.org wrote:

> Hi,
>
> I'm considering maven2 for dependency management for a group of 
> developers.  I've done very well w/ getting a prototype up, and doing 
> some neat things w/ it.  Good job guys so far.  I've bumped into one 
> hangup.
>
> I can deploy to a server using scp on a standard port, but if I wish 
> to try a different one, I get the exception enclosed.  I use a 
> non-standard port for security reasons - I wish to remain public, just 
> not obvious.  My auth log was ridiculous before I switched ports for 
> cracking attempts.  Telling everyone to port forward will suck too.
>
> Pom file is encluded too.
>
> -s
>
> -- pom file
> <?xml version="1.0" encoding="UTF-8"?>
>
> <project>
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>org.sporty</groupId>
>  <artifactId>art-a</artifactId>
>  <version>1.0</version>
>
>  <distributionManagement>
>    <repository>
>      <id>sporty.org</id>
>      <name>sporty.org</name>
>      <url>scp:4812//sporty.org/testRepository</url>
>    </repository>
>  </distributionManagement>
> </project>
>
> -- Exception
> Caused by: 
> org.apache.maven.wagon.authentication.AuthenticationException: Cannot 
> connect. Reason: Session.connect: java.net.ConnectException: 
> Connection timed out: connect
>        at 
> org.apache.maven.wagon.providers.ssh.ScpWagon.openConnection(ScpWagon.java:164) 
>
>        at 
> org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:123)
>        at 
> org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:163)

>
>        ... 20 more
> Caused by: com.jcraft.jsch.JSchException: Session.connect: 
> java.net.ConnectException: Connection timed out: connect
>        at com.jcraft.jsch.Session.connect(Unknown Source)
>        at com.jcraft.jsch.Session.connect(Unknown Source)
>        at 
> org.apache.maven.wagon.providers.ssh.ScpWagon.openConnection(ScpWagon.java:158) 
>
> -- 
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message