The following comment has been added to this issue:
Author: Mivz
Created: Mon, 3 May 2004 8:29 PM
Body:
I have the same problem, using Win2k. But when I use cygwin/bash, it still does the
same. No error, no time out, it just hangs.
However, the ssh session is started. It's received by my server, which prints a
Timeout before authentication in the log. But it did not even asked for the password
jet. During the 'hang' I can see the sshd[priv], sshd[net] and ssh[pam] proccesses.
This can't be right. Here's the tail of the debug info:
[tar] [VERBOSE] project-info.html added as D:/Doc/Spugium/projects/SPine/tar
get/spine-1.0-site.tar doesn't exist.
[tar] [VERBOSE] team-list.html added as D:/Doc/Spugium/projects/SPine/target
/spine-1.0-site.tar doesn't exist.
[tar] Building tar: D:\Doc\Spugium\projects\SPine\target\spine-1.0-site.tar
[gzip] Building: D:\Doc\Spugium\projects\SPine\target\spine-1.0-site.tar.gz
[delete] Deleting: D:\Doc\Spugium\projects\SPine\target\spine-1.0-site.tar
[exec] [VERBOSE] Current OS is Windows 2000
[exec] [VERBOSE] Executing 'ssh' with arguments:
'-l'
'root'
'tower.mivz.spugium.net'
'mkdir -p /var/www/spine/htdocs'
The ' characters around the executable and arguments are
not part of the command.
[exec] [DEBUG] Execute:Java13CommandLauncher: Executing 'ssh' with arguments
:
'-l'
'root'
'tower.mivz.spugium.net'
'mkdir -p /var/www/spine/htdocs'
The ' characters around the executable and arguments are
not part of the command.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDEPLOY-6&page=comments#action_19308
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDEPLOY-6
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPDEPLOY-6
Summary: ssh doesn't display password prompt when deploying (eg. site:deploy)
Type: Bug
Status: Unassigned
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-deploy-plugin
Assignee:
Reporter: Ben Walding
Created: Sat, 28 Sep 2002 4:30 AM
Updated: Mon, 3 May 2004 8:29 PM
Environment: Maven HEAD from CVS on about 25/09/2002
Windows XP
Java 1.4.1
CygWin ssh / scp
Description:
When trying to run site:deploy, the process hangs when maven attempts to start ssh /
scp.
This hang appears to be caused by it waiting for a password, but no password prompt is
shown. If a passwordless certificate is created and added to the target host, the
process works correctly.
Here is the maven output
xdoc:
[echo]
siteAddress = montage.sf.net
siteDirectory = /home/groups/m/mo/montage/htdocs
[tar] Building tar: D:\Data\workspace\Montage\target\montage-0.1-site.tar
[gzip] Building: D:\Data\workspace\Montage\target\montage-0.1-site.tar.gz
[delete] Deleting: D:\Data\workspace\Montage\target\montage-0.1-site.tar
The command that maven is trying to use is correct (ssh montage.sf.net -l ben_walding
"mkdir -p /dir/to/www"
The thread dump follows
Full thread dump Java HotSpot(TM) Client VM (1.4.1-rc-b19 mixed mode):
"Thread-9" daemon prio=5 tid=0x0F15E9A0 nid=0xdf4 runnable [10aff000..10affd88]
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:174)
at org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:105)
at java.lang.Thread.run(Thread.java:536)
"Thread-8" daemon prio=5 tid=0x0F15E830 nid=0xea4 runnable [10abf000..10abfd88]
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:191)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
- locked <02E1BA60> (a java.io.BufferedInputStream)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:105)
at java.lang.Thread.run(Thread.java:536)
"Signal Dispatcher" daemon prio=10 tid=0x009E83D0 nid=0x2a0 waiting on condition
[0..0]
"Finalizer" daemon prio=9 tid=0x0003E8C0 nid=0xf94 in Object.wait() [eb4f000..eb
4fd88]
at java.lang.Object.wait(Native Method)
- waiting on <0344C770> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
- locked <0344C770> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=10 tid=0x0003D490 nid=0xe84 in Object.wait() [eb
0f000..eb0fd88]
at java.lang.Object.wait(Native Method)
- waiting on <0344C7D8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:426)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:113)
- locked <0344C7D8> (a java.lang.ref.Reference$Lock)
"main" prio=5 tid=0x00034C20 nid=0xb4c runnable [7f000..7fc3c]
at java.lang.Win32Process.waitFor(Native Method)
at org.apache.tools.ant.taskdefs.Execute.waitFor(Execute.java:467)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:329)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:368)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:250)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:220)
at org.apache.commons.jelly.impl.DynaTagScript.run(DynaTagScript.java:14
1)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:134)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:190)
at org.apache.commons.jelly.tags.werkz.GoalTag$1.performAction(GoalTag.j
ava:119)
at com.werken.werkz.Goal.attain(Goal.java:524)
at org.apache.maven.app.Maven.runGoals(Maven.java:941)
at org.apache.maven.app.Maven.attainGoals(Maven.java:842)
at org.apache.maven.app.App.doMain(App.java:369)
at org.apache.maven.app.App.main(App.java:882)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
"VM Thread" prio=5 tid=0x009E5228 nid=0xff0 runnable
"VM Periodic Task Thread" prio=10 tid=0x009E6F30 nid=0xf8 waiting on condition
"Suspend Checker Thread" prio=10 tid=0x009E7A10 nid=0xf4c runnable
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]