You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Kini, Sangeetha" <sk...@whisolutions.com> on 2009/01/01 18:03:25 UTC

Site deployment with wagon ssh external error.

Hi,
 I had a question with site deployment to generate the site and use scpexe to transfer files
To the remote server .I get a unexpected end of file error and I don't see any files
Being transferred .I have attached the output of the same.
Pls let me know at the earliest if I am doing anything wrong.
Thanks
Sangeetha kini

scpexe://10.10.9.206/home/skini/test2/ - Session: Opened
Using private key: C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes" skini@10.10.9.206 "mkdir -p /home/skini/test2/.""


Using private key: C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes" skini@10.10.9.206 "mkdir -p /home/skini/test2//.
""


Uploading: ./wagon65163.zip to scpexe://10.10.9.206/home/skini/test2/

Using private key: C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "scp -i "C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes" wagon65163.zip skini@10.10.9.206:/home/skini/test2//./wagon65163.zip"
###############Using private key: C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes" skini@10.10.9.206 "chmod -f 644 /home/skini/test2//./wagon65163.zip
""



Transfer finished. 60930 bytes copied in 1.828 seconds
Using private key: C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes" skini@10.10.9.206 "cd /home/skini/test2/.; unzip -o wagon65163.zip; rm -f wagon65
163.zip""
Archive:  wagon65163.zip
  inflating: css/maven-base.css

unzip: unexpected end of file

Using private key: C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes" skini@10.10.9.206 "chmod -Rf g+w,a+rX /home/skini/test2/""


scpexe://10.10.9.206/home/skini/test2/ - Session: Disconnecting
scpexe://10.10.9.206/home/skini/test2/ - Session: Disconnected
[DEBUG] disposing managed ClassRealm with id: /plugins/org.apache.maven.plugins:maven-site-plugin:2.0-beta-7@48/thread:main
[DEBUG] dissociating all components from managed ClassRealm with id: /plugins/org.apache.maven.plugins:maven-site-plugin:2.0-beta-7@48/thread:main

________________________________
STATEMENT OF CONFIDENTIALITY:



The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain confidential or privileged information. If you are not the intended
recipient, please notify WHI Solutions immediately at gc@whisolutions.com,
and destroy all copies of this message and any attachments.

RE: Site deployment with wagon ssh external error.

Posted by "Durbha, Praveen (GE Healthcare)" <Pr...@ge.com>.
 Why don't you try creating an <ftp> task using the maven-ant-run plugin
to xfer files to a remote server.



-----Original Message-----
From: Kini, Sangeetha [mailto:skini@whisolutions.com] 
Sent: Thursday, January 01, 2009 11:03 AM
To: users@maven.apache.org
Subject: Site deployment with wagon ssh external error.


Hi,
 I had a question with site deployment to generate the site and use
scpexe to transfer files To the remote server .I get a unexpected end of
file error and I don't see any files Being transferred .I have attached
the output of the same.
Pls let me know at the earliest if I am doing anything wrong.
Thanks
Sangeetha kini

scpexe://10.10.9.206/home/skini/test2/ - Session: Opened Using private
key: C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
skini@10.10.9.206 "mkdir -p /home/skini/test2/.""


Using private key: C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
skini@10.10.9.206 "mkdir -p /home/skini/test2//.
""


Uploading: ./wagon65163.zip to scpexe://10.10.9.206/home/skini/test2/

Using private key: C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "scp -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
wagon65163.zip skini@10.10.9.206:/home/skini/test2//./wagon65163.zip"
###############Using private key: C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
skini@10.10.9.206 "chmod -f 644 /home/skini/test2//./wagon65163.zip
""



Transfer finished. 60930 bytes copied in 1.828 seconds Using private
key: C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
skini@10.10.9.206 "cd /home/skini/test2/.; unzip -o wagon65163.zip; rm
-f wagon65 163.zip""
Archive:  wagon65163.zip
  inflating: css/maven-base.css

unzip: unexpected end of file

Using private key: C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
skini@10.10.9.206 "chmod -Rf g+w,a+rX /home/skini/test2/""


scpexe://10.10.9.206/home/skini/test2/ - Session: Disconnecting
scpexe://10.10.9.206/home/skini/test2/ - Session: Disconnected [DEBUG]
disposing managed ClassRealm with id:
/plugins/org.apache.maven.plugins:maven-site-plugin:2.0-beta-7@48/thread
:main
[DEBUG] dissociating all components from managed ClassRealm with id:
/plugins/org.apache.maven.plugins:maven-site-plugin:2.0-beta-7@48/thread
:main

________________________________
STATEMENT OF CONFIDENTIALITY:



The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. If you are not
the intended recipient, please notify WHI Solutions immediately at
gc@whisolutions.com, and destroy all copies of this message and any
attachments.

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