From 7ea4f50ab28162912707de9159aaaa3f5708c7ef Mon Sep 17 00:00:00 2001 From: Darsey Litzenberger Date: Thu, 19 Mar 2026 20:20:59 -0600 Subject: [PATCH] Fix ssh options --- mtik_cert_pusher/connector.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mtik_cert_pusher/connector.py b/mtik_cert_pusher/connector.py index 1c98b60..07ccbe8 100644 --- a/mtik_cert_pusher/connector.py +++ b/mtik_cert_pusher/connector.py @@ -65,11 +65,11 @@ class SSHConnector(Connector): def _ssh_option_args(self) -> list: result = [] if self.ssh_config_path: - result.extend(["-F", self.ssh_config_path]) + result.extend(["-F", str(self.ssh_config_path)]) if self.ssh_user: - result.append("-oUser={self.ssh_user}") + result.append(f"-oUser={self.ssh_user}") if self.ssh_port: - result.append("-oPort={self.ssh_port:d}") + result.append(f"-oPort={self.ssh_port:d}") for k, v in self.extra_ssh_options.items(): assert "=" not in k assert k