Yes, I registered it on the server. Here is what I did:
1. created a public and private key using puttygen.exe. 2. uploaded the public key to our linux server and did: cat id_rsa2.pub >> .ssh/authorized_keys 3. I then ran pageant and added my private key I generated. 4. I ran plink �v �l prgjr1 xxx.xxx.xxx.xxx from my windows command prompt and got the below 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 1 SSH2 keys Trying Pageant key #0 Key refused Keyboard-interactive authentication refused [EMAIL PROTECTED]'s password: _____ From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 11:43 AM To: [EMAIL PROTECTED] Subject: RE: maven and plink Did you register your key on the server account ?? In your distant account you must create a file named ~/.ssh/authorized_keys2 and store your public key in OpenSSH format : ssh-dss �.. yourLogin And when you create your key you must use your distant login as �key comment� Arnaud _____ De : Jason Roscoe [mailto:[EMAIL PROTECTED] Envoy� : mardi 9 novembre 2004 17:36 � : 'Arnaud HERITIER' Objet : RE: maven and plink I don�t have the new session option with pageant. I just re-downloaded it and it�s still not there.?? When I try it using my putty profile I set up, I get 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". Reading private key file "C:\Program Files\putty\id_rsa2.ppk" Offered public key Server refused our key Server refused public key Keyboard-interactive authentication refused [EMAIL PROTECTED]'s password: It says the server refused our key. _____ From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 11:35 AM To: [EMAIL PROTECTED] Subject: RE: maven and plink You checked it and it doesn�t work?? I don�t understand. Try to use the pageant if you want because I don�t know why it doesn�t work with putty itself. _____ > -----Message d'origine----- > De : Jason Roscoe [mailto:[EMAIL PROTECTED] > Envoy� : mardi 9 novembre 2004 16:53 > � : 'Arnaud HERITIER' > Objet : RE: maven and plink > > When I right click on the pageant taskbar icon, I only have: > > View Keys > Add Keys > About > Exit > > I set up a profile "crm" in putty for this server and I added the private > key in the ssh->auth section, along with my userid to the connection section > and saved the profile, so I don't think I need to use pageant. I can run: > > Plink -A -2 -ssh crm > > -----Original Message----- > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 09, 2004 10:51 AM > To: [EMAIL PROTECTED] > Subject: RE: maven and plink > > Through Pageant > > Click right on the task bar icon => New Session > > > -----Message d'origine----- > > De : Jason Roscoe [mailto:[EMAIL PROTECTED] > > Envoy� : mardi 9 novembre 2004 16:29 > > � : 'Arnaud HERITIER' > > Objet : RE: maven and plink > > > > This needs to be set up through Putty, right? I went and did all of this > > and I ran this: > > > > Plink -A -2 -ssh -l prgjr1 crm > > > > And it is asking me for my password. > > > > -----Original Message----- > > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, November 09, 2004 10:26 AM > > To: [EMAIL PROTECTED] > > Subject: RE: maven and plink > > > > No you must also define and SAVE a session. > > > > You need to set : > > - Session : Host + port + ssh > > - Connection : Auto-login username > > - Connection -> SSH -> Auth : Attempt "keyboard ..." + Allow agent > > forwarding ... + Private key = .\myKey.ppk > > > > Arnaud > > > > > -----Message d'origine----- > > > De : Jason Roscoe [mailto:[EMAIL PROTECTED] > > > Envoy� : mardi 9 novembre 2004 16:19 > > > � : 'Arnaud HERITIER' > > > Objet : RE: maven and plink > > > > > > I have Pageant launched and I have added my private key. That's all I > can > > > do in pageant, right? > > > > > > -----Original Message----- > > > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, November 09, 2004 9:23 AM > > > To: 'Maven Users List'; [EMAIL PROTECTED] > > > Subject: RE: maven and plink > > > > > > 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] > > > > > > > > > > > > > > > > > > > > > > > >
