From 2ea3ebded0b3c2cbaf34c2f48f731269775e4b7d Mon Sep 17 00:00:00 2001 From: Max Kozlov <8101543+MVKozlov@users.noreply.github.com> Date: Mon, 1 Jul 2024 15:22:08 +0300 Subject: [PATCH] Update HostKeyAlgorithm ValidateSet for New-SSHTrustedHost --- Posh-SSH/Posh-SSH.psm1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Posh-SSH/Posh-SSH.psm1 b/Posh-SSH/Posh-SSH.psm1 index c146597..9e63828 100644 --- a/Posh-SSH/Posh-SSH.psm1 +++ b/Posh-SSH/Posh-SSH.psm1 @@ -3160,6 +3160,8 @@ function Get-SSHTrustedHost "ecdsa-sha2-nistp256", "ecdsa-sha2-nistp384", "ecdsa-sha2-nistp521", + "rsa-sha2-512", + "rsa-sha2-256", "ssh-rsa", "ssh-dss" )]