Skip to content

Commit 178fdd0

Browse files
authored
Merge pull request #381 from xcp-ng/gln/ssh-rsa-key-format-support-slnn
2 parents ea33345 + 57b2bd7 commit 178fdd0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/commands.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def _ssh(hostname_or_ip, cmd, check, simple_output, suppress_fingerprint_warning
6666
background, decode, options) -> Union[SSHResult, SSHCommandFailed, str, bytes, None]:
6767
opts = list(options)
6868
opts.append('-o "BatchMode yes"')
69+
opts.append('-o "PubkeyAcceptedAlgorithms +ssh-rsa"')
6970
if suppress_fingerprint_warnings:
7071
# Suppress warnings and questions related to host key fingerprints
7172
# because on a test network IPs get reused, VMs are reinstalled, etc.

0 commit comments

Comments
 (0)