Skip to content

Commit

Permalink
www/shellinabox: fix ssh command line options
Browse files Browse the repository at this point in the history
PR:		258838
Reported by:	Felix Palmen <felix@palmen-it.de>
  • Loading branch information
ocochard committed Oct 13, 2021
1 parent c55f38a commit 508036a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion www/shellinabox/Makefile
Expand Up @@ -3,7 +3,7 @@
PORTNAME= shellinabox
PORTVERSION= 2.20
DISTVERSIONPREFIX= v
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= www

MAINTAINER= olivier@FreeBSD.org
Expand Down
12 changes: 10 additions & 2 deletions 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 "
Expand Down

0 comments on commit 508036a

Please sign in to comment.