Issue 50: SSH service not working on Centos/RHEL
o From the poster: i had the same problem on ubuntu 8.04 (hardy heron) 64 bits. solved it by removing the option from the source code: shellinabox/service.c (line 150) //"-oVisualHostKey=no -oLogLevel=QUIET %%s@%s", host); "-oLogLevel=QUIET %%s@%s", host); o A compatible change was made.
This commit is contained in:
parent
12010660b1
commit
0abfde6d61
1 changed files with 5 additions and 1 deletions
|
@ -159,7 +159,11 @@ void initService(struct Service *service, const char *arg) {
|
||||||
"-oPubkeyAuthentication=no -oRhostsRSAAuthentication=no "
|
"-oPubkeyAuthentication=no -oRhostsRSAAuthentication=no "
|
||||||
"-oRSAAuthentication=no -oStrictHostKeyChecking=no -oTunnel=no "
|
"-oRSAAuthentication=no -oStrictHostKeyChecking=no -oTunnel=no "
|
||||||
"-oUserKnownHostsFile=/dev/null -oVerifyHostKeyDNS=no "
|
"-oUserKnownHostsFile=/dev/null -oVerifyHostKeyDNS=no "
|
||||||
"-oVisualHostKey=no -oLogLevel=QUIET %%s@%s", host);
|
// beewoolie-2012.03.30: while it would be nice to disable this
|
||||||
|
// feature, we cannot be sure that it is available on the
|
||||||
|
// target server. Removing it for the sake of Centos.
|
||||||
|
// "-oVisualHostKey=no"
|
||||||
|
" -oLogLevel=QUIET %%s@%s", host);
|
||||||
free(host);
|
free(host);
|
||||||
} else {
|
} else {
|
||||||
service->useLogin = 0;
|
service->useLogin = 0;
|
||||||
|
|
Loading…
Reference in a new issue