Bug 258838 - www/shellinabox: issues with SSH command line options
Summary: www/shellinabox: issues with SSH command line options
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Olivier Cochard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-01 11:12 UTC by Felix Palmen
Modified: 2021-10-13 09:14 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (olivier)


Attachments
0001-www-shellinabox-fix-ssh-command-line-options (2.19 KB, patch)
2021-10-01 11:12 UTC, Felix Palmen
zirias: maintainer-approval? (olivier)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Palmen freebsd_committer freebsd_triage 2021-10-01 11:12:04 UTC
Created attachment 228315 [details]
0001-www-shellinabox-fix-ssh-command-line-options

Shellinabox doesn't work with a current openssh-portable any more (and probably never worked if not built with GSSAPI support). Attached patch removes two command line options to fix it, repeating its commit message for details:

---
Subject: [PATCH] www/shellinabox: fix ssh command line options

remove GSSAPIAuthentication option, it's unknown e.g. with
openssh-portable from ports built with default options, and when
available, defaults to "no" anyways.

remove ChallengeResponseAuthentication, it's just an old alias for
KbdInteractiveAuthentication. When one of them is "no",
keyboard-interactive authentication doesn't work with current openssh
versions.
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-10-13 09:09:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=508036a7d578dee2d4264a039941d10c76b60b6d

commit 508036a7d578dee2d4264a039941d10c76b60b6d
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2021-10-13 09:03:18 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2021-10-13 09:03:18 +0000

    www/shellinabox: fix ssh command line options

    PR:             258838
    Reported by:    Felix Palmen <felix@palmen-it.de>

 www/shellinabox/Makefile                          |  2 +-
 www/shellinabox/files/patch-shellinabox_service.c | 12 ++++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)