Sorry just a typo there, it's 9000 everywhere.

On Sun, Mar 16, 2008 at 4:24 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:

> Just looking at it, and not knowing anything about it at all, I notice
> you have port 9000 most places, but then Maven errors out with port
> 9006. So that might be your problem (?).
>
> Wayne
>
> On 3/16/08, Kallin Nagelberg <[EMAIL PROTECTED]> wrote:
> > I should also note that I can successfully SSH with
> > ssh -p 9000 [EMAIL PROTECTED]
> >
> > So I can ssh and scp manually just fine.
> >
> > On Sun, Mar 16, 2008 at 3:37 PM, Kallin Nagelberg <
> > [EMAIL PROTECTED]> wrote:
> >
> > > I've been struggling forever trying to use the deploy plugin through a
> > > tunnel into my office.
> > >
> > > There is a repository, call it maven.int.office.com.
> > >
> > > I have a tunnel, from localhost:9000 to maven.int.office.com:22.
> > >
> > > Using the following command I can SCP files to it at will:
> > > scp -P9000 somefile.txt [EMAIL PROTECTED]:.
> > >
> > >
> > > The distribution management section of my pom looks like this:
> > > <distributionManagement>
> > >         <repository>
> > >             <id>dev</id>
> > >             <name>Repository</name>
> > >             <url>scpexe://localhost:9000/home/cm/maven/dev</url>
> > >         </repository>
> > >     </distributionManagement>
> > >
> > >
> > >
> > > And my settings file has the following:
> > > <servers>
> > >       <server>
> > >       <id>dev</id>
> > >       <username>user</username>
> > >       <passphrase>password</passphrase>
> > >       <privateKey>myPuttyKey</privateKey>  <!-- I SHOULDNT NEED THIS
> AS
> > > ITS USED IN THE TUNNEL -->
> > >       <configuration>
> > >         <sshExecutable>ssh</sshExecutable>
> > >         <scpExecutable>scp</scpExecutable>
> > >       </configuration>
> > >       </server>
> > >   </servers>
> > >
> > >
> > > All I get when I run mvn deploy is
> > >
> > > Uploading: scpexe://localhost:9006/home/cm/maven/dev/......etcetc
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Error deploying artifact: Error executing command for transfer
> > >
> > > Exit code 255 - Permission denied (publickey,keyboard-interactive).
> > >
> > >
> > > I should note that when I run SCP directly, I am prompted for a
> password.
> > > When I run mvn deploy, I receive no prompt, just the error message.
> > > Is there way to prevent mvn from trying to use a key file? I'm so
> stuck,
> > > I've tried everything. Please help!
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to