Roland Schulz
b511b31ad1
Bug 437083 - Improve error message if ssh fails
...
Execute loadEnv once before trying sftp to make sure exec works.
This way we don't assume it is an sftp problem if the ssh
connection doesn't work at all. To make this work throw an
exception if ExecCommand fails (if exit code != 0). ExecCommand doesn't
have a way to check exit code. Thus this also fixes that if any command
executed with ExecCommand failed, the calling code didn't notice.
Change-Id: I30b8baa0d87166e179fad67643e31a9f17c8ead2
Signed-off-by: Roland Schulz <roland@utk.edu>
2014-06-11 16:43:24 -04:00
Roland Schulz
407382d8af
Bug 437083 - Connection error "session is down"
...
isOpen is expected to cleanup old sessions but didn't do so if fIsOpen
is false.
Change-Id: I65290d06eec51f65281c9f7eb16eba7e3bb5dcc9
2014-06-10 15:19:42 -04:00
Roland Schulz
f2a8c2053e
Bug 428658 - fix keyboard-interactive authentication
...
Also removes unnecessary code for firstTry for password/
keyboard-interactive. And fixes firstTry for pubKey auth.
JSchConnection.newSession is storing the password with
session.setPassword. This password is used first before
jsch is using the UserInfo to prompt. Thus it isn't
necessary to return from the prompt first the same
stored password.
Change-Id: I17a4ae057fc595c2afe452c550bf47b70b696ef4
2014-06-09 08:32:57 -04:00
Greg Watson
dad71b863b
Bug 428658 - Add a default Authenticator
...
Change-Id: I9e2e3ced3c1d3a0b9fb97e685d3836b586cc98a0
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-06-07 00:07:26 -04:00
Greg Watson
1b500f829b
[429668] - Avoid race condition causing mkdir to fail.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-03-21 13:18:32 -04:00
Greg Watson
3faf39df8d
[429271] Fix for special characters in directory names (master branch)
...
Change-Id: Ib5ff490ec83dd4791cb01f6d1f85f5b0db189f77
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-02-27 18:55:49 -05:00
Greg Watson
28c493cbe7
Add prefix to progress monitor task
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-01-31 15:10:03 -05:00
Greg Watson
af665152e1
Improve progress messages for i/o stream operations.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-01-31 08:20:48 -05:00
Greg Watson
acbd43742d
Cleanup
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-01-27 18:15:25 -05:00
Greg Watson
7bd13e741b
Don't buffer files in memory.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-01-27 18:15:05 -05:00
Greg Watson
ba07d662e4
Correctly convert sftp time (seconds) to EFS time (milliseconds).
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-01-17 10:50:56 -05:00
Greg Watson
290378c74a
Enable connection timeout and connection cancelled message.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-12-18 08:46:21 -05:00
Greg Watson
49e6a62bb7
Improve tracing options.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-10-10 17:10:03 -04:00
Greg Watson
b1285fd555
Add tracing capability
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-10-10 10:09:44 -04:00
Greg Watson
bf1d7ccfe7
Fix file mode setting.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-10-09 16:27:54 -04:00
Greg Watson
3882867d49
Update execution environment to 1.6.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-10-07 16:18:15 -04:00
Greg Watson
da6ba5fc62
Improve progress monitor message.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-10-07 16:09:48 -04:00
Greg Watson
bfd74f8717
Fix incorrectly named packages.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-10-07 15:15:13 -04:00
Greg Watson
ec96e61198
Check for changes before opening connection.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-10-07 11:41:49 -04:00
Greg Watson
c22656936a
[417810] - Fix support for specifying private key an passphrase.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-09-27 17:37:51 -04:00
Greg Watson
950f2d8bbb
Ignore more build artifacts.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-09-23 09:42:05 -04:00
Greg Watson
c8f08a419f
Various pom fixes.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-09-20 08:45:30 -04:00
Greg Watson
f01d8e3a10
Add repo and build dirs.
...
Signed-off-by: Greg Watson <g.watson@computer.org>
2013-09-20 08:32:02 -04:00
Greg Watson
484ed91c60
Move to subdirectories
2013-09-19 21:01:47 -04:00