1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00

www/shellinabox: fix ssh command line options

PR:		258838
Reported by:	Felix Palmen <felix@palmen-it.de>
This commit is contained in:
Olivier Cochard 2021-10-13 11:03:18 +02:00
parent c55f38a3bc
commit 508036a7d5
2 changed files with 11 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= shellinabox
PORTVERSION= 2.20
DISTVERSIONPREFIX= v
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= www
MAINTAINER= olivier@FreeBSD.org

View File

@ -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 "