Better ssh logging
authorDmitry Neverov <dmitry.neverov@gmail.com>
Wed, 10 Jan 2018 12:00:30 +0000 (13:00 +0100)
committerDmitry Neverov <dmitry.neverov@gmail.com>
Wed, 10 Jan 2018 12:00:30 +0000 (13:00 +0100)
commitc0590d9a48ead3442e89ae0abcfa418108a4f494
treefd8ea39bd4a24ae939f5d3cd3f0828a0577bfb7b
parentb1dd159becfe3d0d5a36c814f5f5830121e98113
Better ssh logging

When debug is enabled write log to stderr immediately. Without that we
don't get any logging in case of hanging (e.g. due to unexpected
interaction with a user). Also it is useful sometimes to get log even in
case of successful authentication.
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/JSchClient.java