diff --git a/Scripts/install-ssh-client.ps1 b/Scripts/install-ssh-client.ps1 index 9a2c2015..edd3e9d8 100755 --- a/Scripts/install-ssh-client.ps1 +++ b/Scripts/install-ssh-client.ps1 @@ -17,7 +17,7 @@ try { $StopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { - apt install openssh-client + & sudo apt install openssh-client } else { Add-WindowsCapability -Online -Name OpenSSH.Client* } diff --git a/Scripts/install-ssh-server.ps1 b/Scripts/install-ssh-server.ps1 index 5a240ef6..207d65b6 100755 --- a/Scripts/install-ssh-server.ps1 +++ b/Scripts/install-ssh-server.ps1 @@ -17,7 +17,7 @@ try { $StopWatch = [system.diagnostics.stopwatch]::startNew() if ($IsLinux) { - apt install openssh-server + & sudo apt install openssh-server } else { # Install the OpenSSH Server Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0