From 0abfde6d61065cf46a6291cc69765fb0a946fdca Mon Sep 17 00:00:00 2001 From: Marc Singer Date: Sat, 31 Mar 2012 12:47:49 -0700 Subject: [PATCH] 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. --- shellinabox/service.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shellinabox/service.c b/shellinabox/service.c index db8c8a1..45df6fc 100644 --- a/shellinabox/service.c +++ b/shellinabox/service.c @@ -159,7 +159,11 @@ void initService(struct Service *service, const char *arg) { "-oPubkeyAuthentication=no -oRhostsRSAAuthentication=no " "-oRSAAuthentication=no -oStrictHostKeyChecking=no -oTunnel=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); } else { service->useLogin = 0;