FreeBSD Bugzilla – Attachment 228315 Details for
Bug 258838
www/shellinabox: issues with SSH command line options
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-www-shellinabox-fix-ssh-command-line-options
0001-www-shellinabox-fix-ssh-command-line-options.patch (text/plain), 2.19 KB, created by
Felix Palmen
on 2021-10-01 11:12:04 UTC
(
hide
)
Description:
0001-www-shellinabox-fix-ssh-command-line-options
Filename:
MIME Type:
Creator:
Felix Palmen
Created:
2021-10-01 11:12:04 UTC
Size:
2.19 KB
patch
obsolete
>From 766a3d5fdfc9932151ae9d1017a261c30a4a376b Mon Sep 17 00:00:00 2001 >From: Felix Palmen <felix@palmen-it.de> >Date: Fri, 1 Oct 2021 13:04:52 +0200 >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. >--- > www/shellinabox/Makefile | 2 +- > www/shellinabox/files/patch-shellinabox_service.c | 12 ++++++++++-- > 2 files changed, 11 insertions(+), 3 deletions(-) > >diff --git a/www/shellinabox/Makefile b/www/shellinabox/Makefile >index fb7f5c1a58ed..c414a708bec3 100644 >--- a/www/shellinabox/Makefile >+++ b/www/shellinabox/Makefile >@@ -3,7 +3,7 @@ > PORTNAME= shellinabox > PORTVERSION= 2.20 > DISTVERSIONPREFIX= v >-PORTREVISION= 4 >+PORTREVISION= 5 > CATEGORIES= www > > MAINTAINER= olivier@FreeBSD.org >diff --git a/www/shellinabox/files/patch-shellinabox_service.c b/www/shellinabox/files/patch-shellinabox_service.c >index 30c91ccb436c..fd708ab9df11 100644 >--- a/www/shellinabox/files/patch-shellinabox_service.c >+++ b/www/shellinabox/files/patch-shellinabox_service.c >@@ -1,6 +1,14 @@ >---- shellinabox/service.c.orig >+--- shellinabox/service.c.orig 2016-11-09 19:40:33 UTC > +++ shellinabox/service.c >-@@ -175,8 +175,7 @@ void initService(struct Service *service, const char * >+@@ -169,14 +169,13 @@ void initService(struct Service *service, const char * >+ } >+ >+ service->cmdline = stringPrintf(NULL, >+- "ssh -a -e none -i /dev/null -x -oChallengeResponseAuthentication=no " >++ "ssh -a -e none -i /dev/null -x " >+ "-oCheckHostIP=no -oClearAllForwardings=yes -oCompression=no " >+- "-oControlMaster=no -oGSSAPIAuthentication=no " >++ "-oControlMaster=no " > "-oHostbasedAuthentication=no -oIdentitiesOnly=yes " > "-oKbdInteractiveAuthentication=yes -oPasswordAuthentication=yes " > "-oPreferredAuthentications=keyboard-interactive,password " >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
zirias
:
maintainer-approval?
(
olivier
)
Actions:
View
|
Diff
Attachments on
bug 258838
: 228315