aravindc / sshxcute

Automatically exported from code.google.com/p/sshxcute
1 stars 0 forks source link

Cant connect to other System ..!! #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. it is working fine . i can connect to remote unix system and can run command 
and script as well .
2. actually i made a GUI application in which i can give IP , User ID and 
PASSWORD manually .to connect to a perticular System . 
3. But the problem is that  when i tried to connect to different system  by 
giving new IP , ID and PASSWORD  then it always take the first IP , ID  and 
PASSWORD  and always connect to the first remote system only that i gave  first 
after execution of application  even have change the SSHExec reference for each 
connection .

What is the expected output? What do you see instead?
it should connect to new system when i give it new IP , ID and PASSWORD .
but it always make connection with the first one only ...!!

What version of the product are you using? On what operating system?
sshxcute-1.0.jar

Please provide any additional information below.

Original issue reported on code.google.com by jjayss...@gmail.com on 4 Apr 2013 at 7:58

GoogleCodeExporter commented 8 years ago
I am also facing this similar situation. This library works totally fine for 1 
system ONLY, but as soon as we move point to another host, it refers to older 
host.

Has anybody found solution for this problem or should we just move away from 
SSHXcute.

Original comment by depo.ja...@gmail.com on 5 Apr 2013 at 10:26

GoogleCodeExporter commented 8 years ago
I am facing the exact same issue. Seems like java is holding on the to 
connection and does not use the new connection details. I am using the sshxcute 
inside of soapUI (www.soapui.org) for testing web services. If I restart 
soapUI, and run my sshxcute against new connection string, it works. So I 
basically have to restart my application each time so that sshxcute can release 
the old connection. 

Definitely a bug with sshxcute library

Original comment by araza...@gmail.com on 13 May 2013 at 7:18

GoogleCodeExporter commented 8 years ago
anyone who wants the patch can download it here

Original comment by araza...@gmail.com on 15 May 2013 at 2:27

Attachments: