You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bryce Fischer <br...@berzerker-soft.com> on 2003/07/20 03:09:31 UTC

ssh for Windows

What are people using Windows (XP) using for site:deploy? I've
downloaded and run openSSH but seem to be having issues getting it to
work. I get the error:

Could not create directory 'wp8)w    ¿D·wp})w:è)wTß$/.ssh'.

I checked in the plugin.jelly, and put an echo before it checks to see
if the site directory exists. This is what it echoed:

xxxxmydomain.com -l xxxxusername 'mkdir -p
var/www/html/projects/bisweb/ejb-db/'

Everything In the arguments appear correct. So I tried to execute the
command on the commandline by typing:

ssh xxxxmydomain -soft.com -l xxxxusername 'mkdir -p
/var/www/html/projects/bisweb/ejb-db/'

but it never seems to return.


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


RE: ssh for Windows

Posted by Bryce Fischer <br...@berzerker-soft.com>.
I figured it out, and it wasn't the client I was using. It turns out
there was something messed up with the machine that was hosting...

I'll try to write up something on the Wiki about my experiences...

Thanks for helping out everyone.

> -----Original Message-----
> From: Ben Walding [mailto:ben@walding.com]
> Sent: Sunday, July 20, 2003 7:45 PM
> To: Maven Users List
> Subject: Re: ssh for Windows
> 
> I use putty + pageant (key agent) + pscp / plink (from XP). It all
seems
> to work ok.
> 
> I set these properties in build.properties
> 
>   maven.ssh.executable=plink
>   maven.scp.executable=pscp
>   maven.username=bwalding
> 
> To test that it even has a chance of working, do something like:
> 
> plink -l bwalding host ls /
> 
> If that doesn't work, then you've got other problems
> 
> Check - permissions on your .ssh / .ssh/* files on unix host
> Check - authorized_keys / authorized_keys has appropriate keys
> Check /var/log/secure / /var/log/messages (on redhat / linux)
> 
> 
> 
> When you sort it all out, add a new faq page to
> http://wiki.codehaus.org/maven/MailingListSupport
> eg - MavenSshConfiguration
> (subtle aren't I!?)
> 
> Bryce Fischer wrote:
> 
> >Funny. I have putty, and use it for terminal SSH. I believe Plink is
the
> >command line client? Do you specify the same command line arguments
as
> >SSH? I am having difficulties too with this, but at least it appears
to
> >be getting closer :-) Any tips you have would be appreciated.
> >
> >Thanks
> >
> >
> >
> >>-----Original Message-----
> >>From: news [mailto:news@main.gmane.org] On Behalf Of Mauro Talevi
> >>
> >>putty: http://www.chiark.greenend.org.uk/~sgtatham/putty
> >>
> >>Bryce Fischer wrote:
> >>
> >>
> >>>What are people using Windows (XP) using for site:deploy? I've
> >>>downloaded and run openSSH but seem to be having issues getting it
> >>>
> >>>
> >to
> >
> >
> >>>work. I get the error:
> >>>
> >>>Could not create directory 'wp8)w    ¿D·wp})w:è)wTß$/.ssh'.
> >>>
> >>>I checked in the plugin.jelly, and put an echo before it checks to
> >>>
> >>>
> >see
> >
> >
> >>>if the site directory exists. This is what it echoed:
> >>>
> >>>xxxxmydomain.com -l xxxxusername 'mkdir -p
> >>>var/www/html/projects/bisweb/ejb-db/'
> >>>
> >>>Everything In the arguments appear correct. So I tried to execute
> >>>
> >>>
> >the
> >
> >
> >>>command on the commandline by typing:
> >>>
> >>>ssh xxxxmydomain -soft.com -l xxxxusername 'mkdir -p
> >>>/var/www/html/projects/bisweb/ejb-db/'
> >>>
> >>>but it never seems to return.
> >>>
> >>>
> >>
>
>>---------------------------------------------------------------------
> >>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
> >
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> 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 for Windows

Posted by Ben Walding <be...@walding.com>.
I use putty + pageant (key agent) + pscp / plink (from XP). It all seems 
to work ok.

I set these properties in build.properties

  maven.ssh.executable=plink
  maven.scp.executable=pscp
  maven.username=bwalding

To test that it even has a chance of working, do something like:

plink -l bwalding host ls /

If that doesn't work, then you've got other problems

Check - permissions on your .ssh / .ssh/* files on unix host
Check - authorized_keys / authorized_keys has appropriate keys
Check /var/log/secure / /var/log/messages (on redhat / linux)



When you sort it all out, add a new faq page to
http://wiki.codehaus.org/maven/MailingListSupport  
eg - MavenSshConfiguration
(subtle aren't I!?)

Bryce Fischer wrote:

>Funny. I have putty, and use it for terminal SSH. I believe Plink is the
>command line client? Do you specify the same command line arguments as
>SSH? I am having difficulties too with this, but at least it appears to
>be getting closer :-) Any tips you have would be appreciated.
>
>Thanks
>
>  
>
>>-----Original Message-----
>>From: news [mailto:news@main.gmane.org] On Behalf Of Mauro Talevi
>>
>>putty: http://www.chiark.greenend.org.uk/~sgtatham/putty
>>
>>Bryce Fischer wrote:
>>    
>>
>>>What are people using Windows (XP) using for site:deploy? I've
>>>downloaded and run openSSH but seem to be having issues getting it
>>>      
>>>
>to
>  
>
>>>work. I get the error:
>>>
>>>Could not create directory 'wp8)w    ¿D·wp})w:è)wTß$/.ssh'.
>>>
>>>I checked in the plugin.jelly, and put an echo before it checks to
>>>      
>>>
>see
>  
>
>>>if the site directory exists. This is what it echoed:
>>>
>>>xxxxmydomain.com -l xxxxusername 'mkdir -p
>>>var/www/html/projects/bisweb/ejb-db/'
>>>
>>>Everything In the arguments appear correct. So I tried to execute
>>>      
>>>
>the
>  
>
>>>command on the commandline by typing:
>>>
>>>ssh xxxxmydomain -soft.com -l xxxxusername 'mkdir -p
>>>/var/www/html/projects/bisweb/ejb-db/'
>>>
>>>but it never seems to return.
>>>      
>>>
>>
>>---------------------------------------------------------------------
>>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
>
>  
>



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


RE: ssh for Windows

Posted by Bryce Fischer <br...@berzerker-soft.com>.
Funny. I have putty, and use it for terminal SSH. I believe Plink is the
command line client? Do you specify the same command line arguments as
SSH? I am having difficulties too with this, but at least it appears to
be getting closer :-) Any tips you have would be appreciated.

Thanks

> -----Original Message-----
> From: news [mailto:news@main.gmane.org] On Behalf Of Mauro Talevi
> 
> putty: http://www.chiark.greenend.org.uk/~sgtatham/putty
> 
> Bryce Fischer wrote:
> > What are people using Windows (XP) using for site:deploy? I've
> > downloaded and run openSSH but seem to be having issues getting it
to
> > work. I get the error:
> >
> > Could not create directory 'wp8)w    ¿D·wp})w:è)wTß$/.ssh'.
> >
> > I checked in the plugin.jelly, and put an echo before it checks to
see
> > if the site directory exists. This is what it echoed:
> >
> > xxxxmydomain.com -l xxxxusername 'mkdir -p
> > var/www/html/projects/bisweb/ejb-db/'
> >
> > Everything In the arguments appear correct. So I tried to execute
the
> > command on the commandline by typing:
> >
> > ssh xxxxmydomain -soft.com -l xxxxusername 'mkdir -p
> > /var/www/html/projects/bisweb/ejb-db/'
> >
> > but it never seems to return.
> 
> 
> 
> ---------------------------------------------------------------------
> 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 for Windows

Posted by Mauro Talevi <ma...@aquilonia.org>.
putty: http://www.chiark.greenend.org.uk/~sgtatham/putty

Bryce Fischer wrote:
> What are people using Windows (XP) using for site:deploy? I've
> downloaded and run openSSH but seem to be having issues getting it to
> work. I get the error:
> 
> Could not create directory 'wp8)w    ¿D·wp})w:è)wTß$/.ssh'.
> 
> I checked in the plugin.jelly, and put an echo before it checks to see
> if the site directory exists. This is what it echoed:
> 
> xxxxmydomain.com -l xxxxusername 'mkdir -p
> var/www/html/projects/bisweb/ejb-db/'
> 
> Everything In the arguments appear correct. So I tried to execute the
> command on the commandline by typing:
> 
> ssh xxxxmydomain -soft.com -l xxxxusername 'mkdir -p
> /var/www/html/projects/bisweb/ejb-db/'
> 
> but it never seems to return.



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