https://issues.apache.org/bugzilla/show_bug.cgi?id=48010
--- Comment #3 from Lajos Papp <[email protected]> 2009-11-28 15:16:14 UTC --- i run into a similar issue: - trying to sshexec a command and not getting anything. - after a while i hit ctrl-c later i've figured out that if i wait long enough (like 2 minutes) i get an auth exception (which was correct, as i mistyped the password) the problem is that the 'timeout' attribute refers to the command execution and the connection waits forever. in SSHBase.java at the end of the openSession() method: ... session.connect() i would propose to create a new attribute 'connectionTiemeout' so we could write: <sshexec host="myhost.no-ip.org" username="mrfawlty" password="dontmention" command="some_slow_command" timeout="300000" connectionTiemeout='5000' /> it needs only a minor code change: add a private field 'connectionTiemeout' and a setter for it and change the openSession() method's call to: ... session.connect(connectionTiemeout) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
