bredzhang / shellinabox

Automatically exported from code.google.com/p/shellinabox
0 stars 0 forks source link

SSH service not working on Centos/RHEL #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1.shellinaboxd --user=nobody --group=nobody --port=2666 -s /:SSH
2.In web browser i'm getting login prompt. When type username I being 
disconnected within an error

command-line line 0: Unsupported option "GSSAPIAuthentication"
command-line line 0: Bad configuration option: VisualHostKey

What is the expected output? What do you see instead?

Run in shellinaboxd in debug mode, no joy. All it shows is session opened 
and then closed (screenshot attached)

What version of the product are you using? On what operating system?

v2.10

Please provide any additional information below.

Let me know if you need more info

Original issue reported on code.google.com by jeyfox@googlemail.com on 1 Feb 2010 at 1:21

Attachments:

GoogleCodeExporter commented 8 years ago
line 141 of "service.c" has all of the ssh command line. If you remove 
-oGSSAPIAuthentication=no and -oVisualHostKey then recompile shellinabox it 
works fine. 

Original comment by abortretryfail@gmail.com on 21 Oct 2010 at 5:21

GoogleCodeExporter commented 8 years ago
mm..done that, but still doesn't work, terminates the session as soon as a type 
my username and press enter. No error shows up while running it in debug mode 
either.. have another piece of advice?

Thanks!

Original comment by cristian...@gmail.com on 21 Oct 2010 at 7:00

GoogleCodeExporter commented 8 years ago
I can confirm this problem on CentOS/RHEL 5.5 but did solve it by removing 
-oVisualHostKey=no from the source code or using -s /:LOGIN instead of SSH..

Original comment by kloevsch...@gmail.com on 22 Oct 2010 at 11:27

GoogleCodeExporter commented 8 years ago
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);

Original comment by otsua...@gmail.com on 23 Oct 2010 at 4:35

GoogleCodeExporter commented 8 years ago
Compatible patch applied for 2.11.

Original comment by beewoo...@gmail.com on 31 Mar 2012 at 7:49