Re: site:deploy with putty

2004-08-24 Thread Per Abich
I have now solved the problem. I have to have the following line in my
build.properties:

maven.scm.cvs.rsh=plink

The 
maven.ssh.executable=c:/programme/putty/plink
maven.scp.executable=c:/programme/putty/pscp
lines are ignored by site:deploy

Thanks for  your help

Regards

Per Abich

On Tue, 24 Aug 2004 09:37:53 +0200, Christian Mouttet
<[EMAIL PROTECTED]> wrote:
> Per,
> 
> we use Putty no our Windows clients for depolyment to a Linux repository
> machine. This is how it works for us.
> 
> start 'puttygen.exe' to generate public/private keys:
> 
> - 'SSH2 DSA'
> - randomly move your mouse pointer over the window
> - save public and private key
> - add an user on the remote (local repository) machine
> - copy 'Public key for pasting...' (the String starting with 'ssh-dss')
>   in the file '$HOME/.ssh/authorized_keys' on the repository machine
>   ($HOME is the user home dir of the new added user)
> 
> start 'putty.exe' and configure the destination:
> 
> !
> +-- Session
> !   Hostname: 
> !   Protocol: SSH
> \-+ Connection
>   ! Auto-login username: 
>   \-+ SSH
> ! Preferred SSH protocol version: 2
> \-- Auth
> Private key file for authentication: 
> 
> back to
> !
> \-- Session
> Saved Sessions: 
> [Save]!
> 
> Now the connection can be testet by double-clicking the entry in 'saved
> sessions' list box. => login without typing the password.
> 
> It is important that there is an entry in build.properties (lives in
> your home directory) that is *exactly* the same as the saved session.
> Putty uses the configuration instead of directly trying to ssh the
> hostname.
> 
> Hope it helps.
> 
> -Christian
> 
> Am Mo, den 23.08.2004 schrieb Per Abich um 22:35:
> 
> 
> > I have tried to use putty with site:deploy on our local repository,
> > but it alway promps me for a password _after_ I press CTRL-C.
> > dist:deploy works fine using agent authentification & plink/pscp.
> >
> > Does anyone here got experience with this kind of trouble? Or maybe a
> > short info on how to setup agent authentification for the internal
> > ssh...
> >
> > Best Regards
> >
> > Per Abich
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Per Abich
Praktikant
Catenic AG

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



Re: site:deploy with putty

2004-08-24 Thread Christian Mouttet
Per,

we use Putty no our Windows clients for depolyment to a Linux repository
machine. This is how it works for us.

start 'puttygen.exe' to generate public/private keys:

- 'SSH2 DSA'
- randomly move your mouse pointer over the window
- save public and private key
- add an user on the remote (local repository) machine
- copy 'Public key for pasting...' (the String starting with 'ssh-dss')
  in the file '$HOME/.ssh/authorized_keys' on the repository machine
  ($HOME is the user home dir of the new added user)

start 'putty.exe' and configure the destination:

!
+-- Session
!   Hostname: 
!   Protocol: SSH
\-+ Connection
  ! Auto-login username: 
  \-+ SSH
! Preferred SSH protocol version: 2
\-- Auth
Private key file for authentication: 

back to
!
\-- Session
Saved Sessions: 
[Save]!

Now the connection can be testet by double-clicking the entry in 'saved
sessions' list box. => login without typing the password.

It is important that there is an entry in build.properties (lives in
your home directory) that is *exactly* the same as the saved session.
Putty uses the configuration instead of directly trying to ssh the
hostname.

Hope it helps.

-Christian

Am Mo, den 23.08.2004 schrieb Per Abich um 22:35:
> I have tried to use putty with site:deploy on our local repository,
> but it alway promps me for a password _after_ I press CTRL-C.
> dist:deploy works fine using agent authentification & plink/pscp.
> 
> Does anyone here got experience with this kind of trouble? Or maybe a
> short info on how to setup agent authentification for the internal
> ssh...
> 
> Best Regards
> 
> Per Abich
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



RE: site:deploy with putty

2004-08-23 Thread Carlos Sanchez
Hi,

dist:deploy doesn't use putty, it uses a java implementation of ssh.

You have to configure it properly
maven.scp.executable=pscp
maven.ssh.executable=plink

And for the scm plugin:
maven.scm.cvs.rsh=plink

Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net


> -Original Message-
> From: Per Abich [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 23, 2004 10:35 PM
> To: [EMAIL PROTECTED]
> Subject: site:deploy with putty
> 
> I have tried to use putty with site:deploy on our local 
> repository, but it alway promps me for a password _after_ I 
> press CTRL-C.
> dist:deploy works fine using agent authentification & plink/pscp.
> 
> Does anyone here got experience with this kind of trouble? Or 
> maybe a short info on how to setup agent authentification for 
> the internal ssh...
> 
> Best Regards
> 
> Per Abich
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



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