Skip to content

Commit

Permalink
Include sshOptions when building ssh flags
Browse files Browse the repository at this point in the history
  • Loading branch information
cprussin committed Dec 21, 2021
1 parent 0c989d7 commit e21d5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixops/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit e21d5b3

Please sign in to comment.