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" <users@maven.apache.org> 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]