SSH service debugging and addtional information

* Changed ssh command log level from QUIET to FATAL. This will help
  users with debugging in case of errors related to SSH service.
  (See issues #112, #310)
* Added more information about SSH service in manual page. For SSH
  service to work, sshd server needs to be running on local system
  and must be configured to accept password authentication.
This commit is contained in:
KLuka 2015-05-19 21:38:38 +02:00
parent ce25d2f2b1
commit e6a6857cb1
2 changed files with 5 additions and 1 deletions

View file

@ -163,7 +163,7 @@ void initService(struct Service *service, const char *arg) {
// feature, we cannot be sure that it is available on the // feature, we cannot be sure that it is available on the
// target server. Removing it for the sake of Centos. // target server. Removing it for the sake of Centos.
// "-oVisualHostKey=no" // "-oVisualHostKey=no"
" -oLogLevel=QUIET %%s@%s", host); " -oLogLevel=FATAL %%s@%s", host);
free(host); free(host);
} else { } else {
service->useLogin = 0; service->useLogin = 0;

View file

@ -497,6 +497,10 @@ to saying
or or
.BR --service=/:SSH , .BR --service=/:SSH ,
respectively. respectively.
Please note that for SSH service to work properly, we need a running ssh server on
local system with enabled password authentication.
.RE .RE
#ifdef HAVE_OPENSSL #ifdef HAVE_OPENSSL
.TP .TP