SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,23 @@
ssh(1) on OpenBSD doesn't support GSSAPI
Index: salt/client/ssh/shell.py
--- salt/client/ssh/shell.py.orig
+++ salt/client/ssh/shell.py
@@ -127,8 +127,6 @@ class Shell:
options.append("PasswordAuthentication=yes")
else:
options.append("PasswordAuthentication=no")
- if self.opts.get("_ssh_version", (0,)) > (4, 9):
- options.append("GSSAPIAuthentication=no")
options.append("ConnectTimeout={}".format(self.timeout))
if self.opts.get("ignore_host_keys"):
options.append("StrictHostKeyChecking=no")
@@ -162,8 +160,6 @@ class Shell:
"ControlMaster=auto",
"StrictHostKeyChecking=no",
]
- if self.opts["_ssh_version"] > (4, 9):
- options.append("GSSAPIAuthentication=no")
options.append("ConnectTimeout={}".format(self.timeout))
if self.opts.get("ignore_host_keys"):
options.append("StrictHostKeyChecking=no")