You must launch the Pageant tool and register your key and your session. With this, you don't need to enter your key password, each time that you use it.
Arnaud > -----Message d'origine----- > De�: Jason Roscoe [mailto:[EMAIL PROTECTED] > Envoy�: mardi 9 novembre 2004 15:00 > ��: 'Brett Porter' > Cc�: 'Maven Users List' > Objet�: RE: maven and plink > > I generated a ssh key and ftp'd it to our linux box and followed your > instructions. When I run plink -v -l prgjr1 xxx.xxx.xxx.xxx, I get this: > > Server version: SSH-1.99-OpenSSH_3.6.1p2 > We claim version: SSH-2.0-PuTTY-Release-0.56 > Using SSH protocol version 2 > Doing Diffie-Hellman group exchange > Doing Diffie-Hellman key exchange > Host key fingerprint is: > ssh-rsa 1024 d6:de:7f:fb:e0:44:ad:6b:3c:e6:8d:35:46:12:2e:00 > Initialised AES-256 client->server encryption > Initialised AES-256 server->client encryption > Initialised HMAC-SHA1 client->server MAC algorithm > Initialised HMAC-SHA1 server->client MAC algorithm > Using username "prgjr1". > Pageant is running. Requesting keys. > Pageant has 0 SSH2 keys > Keyboard-interactive authentication refused > [EMAIL PROTECTED]'s password: > > -----Original Message----- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Monday, November 08, 2004 2:52 PM > To: [EMAIL PROTECTED] > Cc: Maven Users List > Subject: Re: maven and plink > > If you are looking for a tutorial on SSH, I've found the ones on > sourceforge to generally be helpful. The putty documentation might > have more information too. > > Basic steps (on which you'll have to look elsewhere to elaborate): > - generate private key using puttygen > - take openssh public part of that key and place in > ~/.ssh/authorized_keys on the linux box. Ensure ~/.ssh is not group > writeable > - take private key and load into pageant > - plink from windows to linux box without password > > I don't understand why you get garbage when you plink to the remote > box though. You might have to ask someone with more knwledge of your > environment. > > - Brett > > On Mon, 8 Nov 2004 14:40:22 -0500, Jason Roscoe <[EMAIL PROTECTED]> wrote: > > How do I get the private key? I can run plink xxx.xxx.xxx.xxx from my > > windows command prompt and login with my username/password (although it > > shows nothing but garbage after I do that). > > > > Thanks > > > > > > > > -----Original Message----- > > From: Brett Porter [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 08, 2004 2:38 PM > > To: Maven Users List; [EMAIL PROTECTED] > > Subject: Re: maven and plink > > > > to use plink in this fashion, you will need to have pageant running > > and a private key loaded. > > If you can shell into their from the command line using plink without > > needing a password, you should be set to go with the same options > > above for Maven. > > > > - Brett > > > > On Mon, 8 Nov 2004 12:46:35 -0500, Jason Roscoe <[EMAIL PROTECTED]> > wrote: > > > > > > I have maven working on my windows machine and I can generate a site > > > locally. When I try to run maven site:deploy from a windows command > > prompt > > > to deploy this to our linux webserver, it hangs when it tries to ssh to > > the > > > webserver. I have my build.properties file that looks like this: > > > > > > maven.scp.executable=pscp > > > > > > maven.ssh.executable=plink > > > > > > #maven.scm.cvs.rsh=plink > > > > > > # CVS related details > > > > > > maven.username=prgjr1 > > > > > > I tried using the maven.scm.cvs.rsh property, but when I run maven, it > > tries > > > to run ssh instead of plink. Using the above, it uses plink, but just > > sits > > > here, and doesn't do anything: > > > > > > site:sshdeploy: > > > > > > [echo] > > > > > > siteAddress = xxx.xxx.xxx.xxx > > > > > > siteDirectory = /opt/IBMHttpServer/htdocs/html/ > > > > > > siteUser = xxxxxx > > > > > > [tar] Building tar: > > E:\cvs\xxx\workspace\target\raweb-workspace-SNAPSHOT > > > > > > -site.tar > > > > > > [gzip] Building: > > E:\cvs\xxx\workspace\target\raweb-workspace-SNAPSHOT-si > > > > > > te.tar.gz > > > > > > [delete] Deleting: > > E:\cvs\xxx\workspace\target\raweb-workspace-SNAPSHOT- > > > > > > site.tar > > > > > > When I break out of it using ctrl-c, it says: > > > > > > [exec] [EMAIL PROTECTED]'s password: > > > > > > Can someone please help me? > > > > > > Thanks! > > > > > > Disclaimer: This e-mail message is intended only for the personal use of > > > the recipient(s) named above. If you are not an intended recipient, you > > > may not review, copy or distribute this message. If you have received > this > > > communication in error, please notify us immediately by e-mail and > delete > > > the original message. > > > This e-mail expresses views only of the sender, which are not to be > > > attributed to Rite Aid Corporation and may not be copied or distributed > > > without this statement. > > > > > > > --------------------------------------------------------------------- > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
