- Package:
- shellinabox
- Source:
- shellinabox
- Description:
- publish command line shell through AJAX interface
- Submitter:
- Leonardo Marino-Ramirez
- Date:
- 2023-04-05 06:33:02 UTC
- Severity:
- normal
Dear Maintainer, After providing the username I am getting: command-line line 0: Unsupported option "rhostsrsaauthentication" command-line line 0: Unsupported option "rsaauthentication" Then, I am prompted for a password (Password:) I am able to login and the messages seem to be related to ssh parameters passed at some point. This is what I see: login: <USERNAME> command-line line 0: Unsupported option "rhostsrsaauthentication" command-line line 0: Unsupported option "rsaauthentication" Password: Then the login proceeds and things are fine.
The bug is located in shellinabox/service.c Removing the flags:
Dear maintainer, Please remove these outdated ssh options from service.c:
When using the built-in SSH service description, that produces command-line line 0: Unsupported option "rhostsrsaauthentication" command-line line 0: Unsupported option "rsaauthentication" this is because SSH is mapped (initService function) to running ssh(1) with a bunch of options which include -oRhostsRSAAuthentication=no -oRSAAuthentication=no However, these options were removed in OpenSSH 7.4 along SSH 1 support, as documented by Colin in https://salsa.debian.org/ssh-team/openssh/-/commit/fb87db8aa47d3508be8e5bb1d21897fa1f2eca90 (debian bug #851573) The attached patch solves it. Upstream bug: https://github.com/shellinabox/shellinabox/issues/458
-- Hello, did you receive my two previous messages? please check and reply me