You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Maximilian A. Ott" <ma...@winlab.rutgers.edu> on 2003/07/13 06:32:48 UTC

Jar:deploy and ssh password

When I run jar:deploy it gets to:

jar:jar:

    [echo]
        Moving target/sx.util-1.1.3.jar to the .....

And hangs.

>From looking at the plug-in code (and a few error messages due to
incorrect property settings) I know it calls "ssh" at this stage. Now,
if I run the specific command from the shell it prompts me for the
password. This is obviously suppressed here. How can I make that work
(Windows, ssh2).

Thanks,

-max


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


Re[2]: Jar:deploy and ssh password

Posted by Anton Tagunov <at...@mail.cnt.ru>.
Hello Maximilian!

I case you need help, I've gone through lots of fun
with cvs.apache.org cvs-over-ssh-password-less from
a Windows box, so you may bombard me a little :)

In my case I had to install cvs-1.11.5.zip over

      Windows NT ssh port by Gorden
      ftp://ftp.cs.hut.fi/pub/ssh-old/contrib/ssh-1.2.14-win32bin.zip
      ftp://ns.nsu.ru/contrib/ssh-1.2.14-win32bin.zip

      (an inet search for
      ssh-1.2.14-win32bin.zip should give you other links)

      The home page of this port
      http://bmrc.berkeley.edu/people/chaffee/winntutil.html

There are also funny issues of OpenSSH vs. SSH.com implemetations -
in fact they have different format for storing keys in files
(otherwise compatible)

In short, if you use ssh.com 3.* and generate keys via this
beast you may need to do a

  ssh-keygen -i <ssh.com.keyfile> > ~/.ssh/authorized_keys

(or somthing like this)
on the server.

If I'm not mistaken it has been Noel who explained these
issues to me, so my thanks go to him :) for his link,
this probably is that link

http://www.ices.utexas.edu/adminworld/sshinterop.html

-Anton


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


RE: Jar:deploy and ssh password

Posted by "Maximilian A. Ott" <ma...@winlab.rutgers.edu>.
Thanks. I thought I need to do something else. It turns out that my
public web server only supports an old version of ssh with some strange
additional restrictions. Confused the heck out of me. On top of it, I'm
an old unix guy chained to a windows box (which confuses me even more).

-max


> -----Original Message-----
> From: King_Henree@yahoo.com [mailto:king_henree@yahoo.com] 
> Sent: Sunday, July 13, 2003 2:19 PM
> To: Maven Users List
> Subject: Re: Jar:deploy and ssh password
> 
> 
> Under Linux, the destination host of the ssh
> connection must include an authorized_keys file for
> connections that do not require an interactive
> password be entered.  See
> http://www.openssh.org/manual.html.  The link for ssh
> discuss use of the authorized_keys file.
> 
> Thanks.
> 
> --- "Maximilian A. Ott" <ma...@winlab.rutgers.edu>
> wrote:
> > When I run jar:deploy it gets to:
> > 
> > jar:jar:
> > 
> >     [echo]
> >         Moving target/sx.util-1.1.3.jar to the .....
> > 
> > And hangs.
> > 
> > From looking at the plug-in code (and a few error
> > messages due to
> > incorrect property settings) I know it calls "ssh"
> > at this stage. Now,
> > if I run the specific command from the shell it
> > prompts me for the
> > password. This is obviously suppressed here. How can
> > I make that work
> > (Windows, ssh2).
> > 
> > Thanks,
> > 
> > -max
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> > users-help@maven.apache.org
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
> 
> ---------------------------------------------------------------------
> 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: Jar:deploy and ssh password

Posted by "King_Henree@yahoo.com" <ki...@yahoo.com>.
Under Linux, the destination host of the ssh
connection must include an authorized_keys file for
connections that do not require an interactive
password be entered.  See
http://www.openssh.org/manual.html.  The link for ssh
discuss use of the authorized_keys file.

Thanks.

--- "Maximilian A. Ott" <ma...@winlab.rutgers.edu>
wrote:
> When I run jar:deploy it gets to:
> 
> jar:jar:
> 
>     [echo]
>         Moving target/sx.util-1.1.3.jar to the .....
> 
> And hangs.
> 
> From looking at the plug-in code (and a few error
> messages due to
> incorrect property settings) I know it calls "ssh"
> at this stage. Now,
> if I run the specific command from the shell it
> prompts me for the
> password. This is obviously suppressed here. How can
> I make that work
> (Windows, ssh2).
> 
> Thanks,
> 
> -max
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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