SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
sysutils/salt/patches/patch-salt_client_ssh_shell_py
Normal file
23
sysutils/salt/patches/patch-salt_client_ssh_shell_py
Normal 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")
|
Loading…
Add table
Add a link
Reference in a new issue