I changed the path, so now I get a little different error. I there a way to
run this without having to type in password every time.

scp://jstage.com/usr2/local/WWW/ - Session: Opened
Executing command: mkdir -p /usr2/local/WWW/.
Executing command: mkdir -p /usr2/local/WWW/.
Executing command: scp -t /usr2/local/WWW/./wagon30313.zip
scp://jstage.com/usr2/local/WWW/ - Session: Disconnecting
scp://jstage.com/usr2/local/WWW/ - Session: Disconnected
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Error uploading site

Embedded error: Unexpected end of data


Thanks


On 5/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

 I have a jboss server, where exactly are we adding the path, on the
server?

So after the manual login ssh. Now I get this error:

scp://jstage.com/WWW/ - Session: Opened
Executing command: mkdir -p /WWW/.
scp://jstage.com/WWW/ - Session: Disconnecting
scp://jstage.com/WWW/ - Session: Disconnected

[INFO]
----------------------------------------------------------------------------

[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Error uploading site

Embedded error: Error performing commands for file transfer
Exit code: 2 - mkdir: "/WWW/.": Permission denied

Thanks

 On 5/1/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Manually SSH to the box and "permanently accept" the key for this
> host. Then it shouldn't prompt for "continue connecting" when you run
> site:deploy later.
>
> Wayne
>
> On 5/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I made some changes to the pom, but now I can not continue to connect.
>
> > "scp://JSTAGE.com/WWW/" changed in my pom.xml
> >
> >
> > [INFO] Cobertura Report generation was successful.
> > [INFO] Generate "CPD Report" report.
> > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> got 0
> > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got
> 0
> > [INFO] Generate "PMD Report" report.
> > [INFO] Generate "Continuous Integration" report.
> > [INFO] Generate "Dependencies" report.
> > [INFO] Generate "Issue Tracking" report.
> > [INFO] Generate "Project License" report.
> > [INFO] Generate "Mailing Lists" report.
> > [INFO] Generate "Source Repository" report.
> > [INFO] Generate "Project Team" report.
> > [INFO] Generate an index file for the English version.
> > [INFO] [site:deploy]
> > The authenticity of host 'JSTAGE.com' can't be established.
> > DSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
> > Are you sure you want to continue connecting? (yes/no):
> >
> >
> > I am now stuck in this loop. Yes or No will not break the loop.
> >
> > Is there something I can check for ssh to verify a correct setup?
> >
> > THanks
> >
> > On 5/1/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]>
> wrote:
> > >
> > > If SSH/SCP is connecting to port 8080 it is probably connecting to
> an HTTP
> > > server (Tomcat?), and not an SSH service.  If that is the case, that
> would
> > > explain the "invalid server's version string".  I believe the
> default SSH
> > > port is 21.
> > >
> > > It's better to be hated for who you are
> > > than loved for who you are not
> > >
> > > Ian D. Stewart
> > > Appl Dev Analyst-Advisory, DCS Automation
> > > JPMorganChase Global Technology Infrastructure
> > > Phone: (614) 244-2564
> > > Pager: (888) 260-0078
> > >
> > >
> > >
> > >                      "Wayne Fay"
> > >                      <[EMAIL PROTECTED]        To:       "Maven Users
> List"
> > > <[email protected]>
> > >                      om>                      cc:
> > >                                               Subject:  Re:
> deploying site
> > > generated files
> > >                      04/28/2006 05:45
> > >                      PM
> > >                      Please respond to
> > >                      "Maven Users
> > >                      List"
> > >
> > >
> > >
> > >
> > >
> > > The SCP error message "invalid server's version string" seems to
> > > indicate that SSH was unable to connect to the SSH server, or there
> > > was something wrong during the SSH handshake.
> > >
> > > SCP is "Secure CoPy" which requires SSH to be installed on the
> server.
> > > If you don't have it installed already, you'll need to install it
> > > before proceeding.
> > >
> > > And as Justin noticed, you have configured SCP to connect to port
> 8080
> > > which is most likely invalid.
> > >
> > > Wayne
> > >
> > > On 4/28/06, Edelson, Justin <[EMAIL PROTECTED]> wrote:
> > > > Just a guess, but 8080 is probably the web server port, not the
> SSH/SCP
> > > > port, which is 22 by default.
> > > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, April 28, 2006 5:36 PM
> > > > To: Maven Users List
> > > > Subject: deploying site generated files
> > > >
> > > > I would like to move or deploy the site generated file to my web
> server
> > > > (JBoss) that is on the same server as my build (mvn) server.
> > > >
> > > > I would like to allow others to view the site files from the web
> server.
> > > >
> > > > Can this be done?
> > > >
> > > > I have tried the <url>scp.........<url>
> > > >
> > > > I get an error...:
> > > >
> > > >
> > > > [INFO] [site:deploy]
> > > >  Session error: com.jcraft.jsch.JSchException: invalid server's
> version
> > > > string
> > > > scp://JSTAGE.com:8080/WWW/ - Session: Disconnecting
> > > > scp://JSTAGE.com:8080/WWW/ - Session: Disconnected
> > > > [INFO]
> > > >
> ------------------------------------------------------------------------
> > > > ----
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > >
> ------------------------------------------------------------------------
> > > > ----
> > > > [INFO] Error uploading site
> > > >
> > > > Embedded error: Cannot connect. Reason: invalid server's version
> string
> > > >
> > > >
> > > >
> > > > In my pom:
> > > >
> > > > <distributionManagement>
> > > >  <site>
> > > >    <id>website</id>
> > > > <url>scp://JSTAGE.com:8080/WWW/</url>
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > 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]
> > >
> > >
> >
> >
>


Reply via email to