Ok.  So, outside of Maven, you can ssh using that username and
passphrase.  And you're certain that the private key is located at
"<user_home>/.ssh/identity"?  Normally it is "<user_home>/.ssh/id_dsa"
or "<user_home>/.ssh/id_rsa".  Finally, could you go ahead and send
the error message you get?

-Stephen

On 3/22/06, Bruno Patini Furtado <[EMAIL PROTECTED]> wrote:
> The settings.xml has the real values. My mistake in using different
> notations.
>
> On 3/21/06, Stephen Duncan <[EMAIL PROTECTED]> wrote:
> >
> > Where you have $user_name and $usr_home do you have in your actual
> > settings.xml the real values?  Wasn't clear since you used
> > <my_server_name> later to represent a value actually replaced in your
> > files...
> >
> > -Stephen
> >
> > On 3/21/06, Bruno Patini Furtado <[EMAIL PROTECTED]> wrote:
> > > Hi folks,
> > > I'm trying to deploy a artifact to a local intranet repository using
> > SCP, I
> > > can establish a ssh session using my pass phrase as expected, but I'm
> > having
> > > to success in configuring maven to make it.
> > >
> > > My settings.xml servers tag goes like this:
> > >     <server>
> > >       <id>ssh-repository</id>
> > >       <username>$user_name</username>
> > >       <privateKey>$usr_home/.ssh/identity</privateKey>
> > >       <passphrase>####</passphrase>
> > >     </server>
> > >
> > > My pom.xml distributionManagement tag:
> > >   <distributionManagement>
> > >     <repository>
> > >       <id>ssh-repository</id>
> > >       <url>scp://<my_server_name>/<my_maven_repository_dir></url>
> > >     </repository>
> > >   </distributionManagement>
> > >
> > > I'm not using putty, which I've read has a key format issue and a key
> > > converter.
> > > I've looked a lot at the mailing list archives and in the maven
> > > documentation site.
> > > Any help in any page will be most appreciated :)
> > >
> > >
> > > --
> > > "Minds are like parachutes, they work best when open."
> > >
> > > Bruno Patini Furtado
> > > Software Developer
> > > webpage: www.bpfurtado.net
> > > software development blog: http://bpfurtado.livejournal.com
> > >
> > >
> >
> >
> > --
> > Stephen Duncan Jr
> > www.stephenduncanjr.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> "Minds are like parachutes, they work best when open."
>
> Bruno Patini Furtado
> Software Developer
> webpage: www.bpfurtado.net
> blog: http://bpfurtado.livejournal.com
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to