You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jose Gonzalez Gomez <jg...@gmail.com> on 2005/11/17 11:39:34 UTC

SSH executable

Hi there,

I'm trying to use the external sshExecutable setting in the
settings.xml file, kind of this:

    <server>
      <id>my.server</id>
      <username>me</username>
      <privateKey>E:\.ssh\id_dsa</privateKey>
      <configuration>
        <sshExecutable>"C:\Archivos de programa\PuTTY\plink.exe"</sshExecutable>
      </configuration>
    </server>

As you may see, I have some spaces in the path to the plink
executable. I've tried to surround it with &quot;, " (as shown) with
no success, I keep getting the usual message you get when you use a
path with spaces in MSDOS and you don't surround it with double
quotes... any ideas (other than the obvious add plink to the PATH)?

Antoher question... is there any way to specify this setting in a
global manner? I have several servers defined and I must copy/paste
this to each of them.

TIA, best regards
Jose

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


Re: SSH executable

Posted by Jose Gonzalez Gomez <jg...@gmail.com>.
Sorry, fixed in 331168

2005/11/17, Jose Gonzalez Gomez <jg...@gmail.com>:
> This has been fixed in version 312817:
>
> http://svn.apache.org/viewcvs.cgi/maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java?rev=331168&r1=312817&r2=331168&diff_format=h
>
> 2005/11/17, Jose Gonzalez Gomez <jg...@gmail.com>:
> > I have tried it right now, and have hitted another bug:
> >
> > Caused by: org.apache.maven.wagon.TransferFailedException: Exit code:
> > 1 - pscp: unknown option "-o"
> >       try typing just "pscp" for help
> >
> > I'm going to file a bug in JIRA....
> >
> > 2005/11/17, Christophe DENEUX <ch...@capgemini.com>:
> > >
> > > Hi,
> > >
> > > Have you try to replace the directory name "Archivos de programme" by
> > > its 8.3 form (somthing like "Archiv~1") ?
> > >
> > > Christophe
> > >
> > > Jose Gonzalez Gomez wrote:
> > >
> > > >Hi there,
> > > >
> > > >I'm trying to use the external sshExecutable setting in the
> > > >settings.xml file, kind of this:
> > > >
> > > >    <server>
> > > >      <id>my.server</id>
> > > >      <username>me</username>
> > > >      <privateKey>E:\.ssh\id_dsa</privateKey>
> > > >      <configuration>
> > > >        <sshExecutable>"C:\Archivos de programa\PuTTY\plink.exe"</sshExecutable>
> > > >      </configuration>
> > > >    </server>
> > > >
> > > >As you may see, I have some spaces in the path to the plink
> > > >executable. I've tried to surround it with &quot;, " (as shown) with
> > > >no success, I keep getting the usual message you get when you use a
> > > >path with spaces in MSDOS and you don't surround it with double
> > > >quotes... any ideas (other than the obvious add plink to the PATH)?
> > > >
> > > >Antoher question... is there any way to specify this setting in a
> > > >global manner? I have several servers defined and I must copy/paste
> > > >this to each of them.
> > > >
> > > >TIA, best regards
> > > >Jose
> > > >
> > > >---------------------------------------------------------------------
> > > >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > >For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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


Re: SSH executable

Posted by Jose Gonzalez Gomez <jg...@gmail.com>.
This has been fixed in version 312817:

http://svn.apache.org/viewcvs.cgi/maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java?rev=331168&r1=312817&r2=331168&diff_format=h

2005/11/17, Jose Gonzalez Gomez <jg...@gmail.com>:
> I have tried it right now, and have hitted another bug:
>
> Caused by: org.apache.maven.wagon.TransferFailedException: Exit code:
> 1 - pscp: unknown option "-o"
>       try typing just "pscp" for help
>
> I'm going to file a bug in JIRA....
>
> 2005/11/17, Christophe DENEUX <ch...@capgemini.com>:
> >
> > Hi,
> >
> > Have you try to replace the directory name "Archivos de programme" by
> > its 8.3 form (somthing like "Archiv~1") ?
> >
> > Christophe
> >
> > Jose Gonzalez Gomez wrote:
> >
> > >Hi there,
> > >
> > >I'm trying to use the external sshExecutable setting in the
> > >settings.xml file, kind of this:
> > >
> > >    <server>
> > >      <id>my.server</id>
> > >      <username>me</username>
> > >      <privateKey>E:\.ssh\id_dsa</privateKey>
> > >      <configuration>
> > >        <sshExecutable>"C:\Archivos de programa\PuTTY\plink.exe"</sshExecutable>
> > >      </configuration>
> > >    </server>
> > >
> > >As you may see, I have some spaces in the path to the plink
> > >executable. I've tried to surround it with &quot;, " (as shown) with
> > >no success, I keep getting the usual message you get when you use a
> > >path with spaces in MSDOS and you don't surround it with double
> > >quotes... any ideas (other than the obvious add plink to the PATH)?
> > >
> > >Antoher question... is there any way to specify this setting in a
> > >global manner? I have several servers defined and I must copy/paste
> > >this to each of them.
> > >
> > >TIA, best regards
> > >Jose
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> > >
> >
> >
> >
> > This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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


Re: SSH executable

Posted by Jose Gonzalez Gomez <jg...@gmail.com>.
I have tried it right now, and have hitted another bug:

Caused by: org.apache.maven.wagon.TransferFailedException: Exit code:
1 - pscp: unknown option "-o"
      try typing just "pscp" for help

I'm going to file a bug in JIRA....

2005/11/17, Christophe DENEUX <ch...@capgemini.com>:
>
> Hi,
>
> Have you try to replace the directory name "Archivos de programme" by
> its 8.3 form (somthing like "Archiv~1") ?
>
> Christophe
>
> Jose Gonzalez Gomez wrote:
>
> >Hi there,
> >
> >I'm trying to use the external sshExecutable setting in the
> >settings.xml file, kind of this:
> >
> >    <server>
> >      <id>my.server</id>
> >      <username>me</username>
> >      <privateKey>E:\.ssh\id_dsa</privateKey>
> >      <configuration>
> >        <sshExecutable>"C:\Archivos de programa\PuTTY\plink.exe"</sshExecutable>
> >      </configuration>
> >    </server>
> >
> >As you may see, I have some spaces in the path to the plink
> >executable. I've tried to surround it with &quot;, " (as shown) with
> >no success, I keep getting the usual message you get when you use a
> >path with spaces in MSDOS and you don't surround it with double
> >quotes... any ideas (other than the obvious add plink to the PATH)?
> >
> >Antoher question... is there any way to specify this setting in a
> >global manner? I have several servers defined and I must copy/paste
> >this to each of them.
> >
> >TIA, best regards
> >Jose
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
>
>
>
> This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.
>
>
>
> ---------------------------------------------------------------------
> 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


Re: SSH executable

Posted by Christophe DENEUX <ch...@capgemini.com>.
Hi,

Have you try to replace the directory name "Archivos de programme" by 
its 8.3 form (somthing like "Archiv~1") ?

Christophe

Jose Gonzalez Gomez wrote:

>Hi there,
>
>I'm trying to use the external sshExecutable setting in the
>settings.xml file, kind of this:
>
>    <server>
>      <id>my.server</id>
>      <username>me</username>
>      <privateKey>E:\.ssh\id_dsa</privateKey>
>      <configuration>
>        <sshExecutable>"C:\Archivos de programa\PuTTY\plink.exe"</sshExecutable>
>      </configuration>
>    </server>
>
>As you may see, I have some spaces in the path to the plink
>executable. I've tried to surround it with &quot;, " (as shown) with
>no success, I keep getting the usual message you get when you use a
>path with spaces in MSDOS and you don't surround it with double
>quotes... any ideas (other than the obvious add plink to the PATH)?
>
>Antoher question... is there any way to specify this setting in a
>global manner? I have several servers defined and I must copy/paste
>this to each of them.
>
>TIA, best regards
>Jose
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>  
>



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.