ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33697] - exec gives errror on trying to run on solaris
Date Wed, 23 Feb 2005 22:48:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33697>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33697





------- Additional Comments From muralirama@yahoo.com  2005-02-23 23:48 -------
(In reply to comment #7)
> The best way to get SSH on Windows is Cygwin. Many people prefer much lighter 
PuTTY.
> SSH server has to be running on a server in order to connect to it. It looks 
like 
> your second server does not have it running.
> Unix scripts "hang" if stdin/out/err is not closed. Try redireting all of 
them into a file or files. If you do not need to wait until the script 
finishes - there is "nohup" command that prevents spawned process from dying 
when parent process exits.

Alexey,
  The windows machine from which I run has no problem.  It is the other unix 
workstation(say B) to which I try to run script (or ls command) it fails (means 
hangs).  The first unix machine A it works when I run ant from windows machine 
to ls or run script(though it hangs).  On Machine A on command line when I type 
ssh it states ssh command not found though ant script is able to run ls or 
shell script from windows machine on this machine A.  But machine B which 
states ssh not found I could not run even ls command on this machine B when I 
run ant from my windows machine and it gave that error message:
D:\ratsplus-team-maintenance-docs\build.xml:4: com.jcraft.jsch.JSchException: Se
ssion.connect: java.net.ConnectException: Connection refused: connect

So how do I check ssh present other than typing ssh on shell prompt on these 
unix workstation(B) and server machines(A) .  Is there any way to find if ssh 
running?  One more thing I dont understand is while I have ssh on the windows 
machine from where I run ant why I need ssh on the unix machine?  (OR) is it 
that I need ssh on both windows machine and the unix machine on which I want to 
run the command?  
Thanks
-murali


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message