Ok, here is a way I got around getting plink to work. I ran:
plink �pw password crm
I got logged in without typing my password. When I logged in, I got to a
prompt, but the prompt text was all garbage. I updated my build.propertis
file to look like this:
maven.scp.executable=pscp
maven.scp.options=-q -batch -pw password
maven.ssh.executable=plink
maven.ssh.options=-pw password crm
Maven gets this far, and just hangs here:
xdoc:
xdoc:init:
site:init:
site:sshdeploy:
[echo]
siteAddress = 192.168.2.24
siteDirectory = /opt/IBMHttpServer/htdocs/html/
siteUser = prgjr1
[tar] Building tar:
C:\crmj2ee\workspace\target\raweb-workspace-SNAPSHOT-sit
e.tar
[gzip] Building:
C:\crmj2ee\workspace\target\raweb-workspace-SNAPSHOT-site.t
ar.gz
[delete] Deleting:
C:\crmj2ee\workspace\target\raweb-workspace-SNAPSHOT-site
.tar
_____
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 1:04 PM
To: [EMAIL PROTECTED]; 'Maven Users List'
Subject: RE: maven and plink
Are you sure that you set your login (prgjr1) in your key comment when you
created it ?
Here is my trace :
Server version: SSH-1.99-OpenSSH_3.5p1 FreeBSD-20030924
We claim version: SSH-2.0-PuTTY-Release-0.54
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange
Host key fingerprint is:
ssh-dss 1024 79:7c:cb:6a:44:47:b2:ef:5c:66:28:d7:40:0d:b1:f9
Initialised AES-256 client->server encryption
Initialised AES-256 server->client encryption
Using username "aheritier".
Pageant is running. Requesting keys.
Pageant has 1 SSH2 keys
Trying Pageant key #0
Authenticating with public key "aheritier" from agent
Sending Pageant's response
Access granted
Opened channel for session
Allocated pty
Started a shell/command
My putty seems to be older than your one.
I didn�t try the 0.56
Arnaud
_____
De : Jason Roscoe [mailto:[EMAIL PROTECTED]
Envoy� : mardi 9 novembre 2004 18:26
� : 'Arnaud HERITIER'
Objet : RE: maven and plink
I tried that before, and just again now and I get the same results.
_____
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 12:24 PM
To: [EMAIL PROTECTED]
Subject: RE: maven and plink
I don�t know if it changes something but on the apache server (Freebsd) I
named the file authorized_keys2
Did you try it ?
_____
De : Jason Roscoe [mailto:[EMAIL PROTECTED]
Envoy� : mardi 9 novembre 2004 17:48
� : 'Arnaud HERITIER'
Objet : RE: maven and plink
Yes, I registerd 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.
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.