From e21d5b3dca49433576432e19e628ed235878617f Mon Sep 17 00:00:00 2001 From: Connor Prussin Date: Mon, 20 Dec 2021 21:58:24 -0800 Subject: [PATCH] Include sshOptions when building ssh flags --- nixops/backends/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixops/backends/__init__.py b/nixops/backends/__init__.py index 723e5bf86..13969e675 100644 --- a/nixops/backends/__init__.py +++ b/nixops/backends/__init__.py @@ -489,7 +489,7 @@ def get_known_hosts_file(self, *args, **kwargs) -> Optional[str]: return None def get_ssh_flags(self, scp: bool = False) -> List[str]: - flags: List[str] = [] + flags: List[str] = list(self.ssh_options) if self.ssh_port is not None: flags = flags + ["-o", "Port=" + str(self.ssh_port)]