darkoperator / Posh-SSH

PowerShell Module for automating tasks on remote systems using SSH
BSD 3-Clause "New" or "Revised" License
978 stars 226 forks source link

Failed to install POSH-SSH in windows 2012 #383

Closed green0tree22 closed 1 month ago

green0tree22 commented 3 years ago

Hi, I used to install the POSH-SSH on my windows 2012 machine. when i execute the iInstall-Module -Name Posh-SSH -RequiredVersion 2.1 its failed. WARNING: Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''. WARNING: Unable to download the list of available providers. Check your internet connection. im connected to internet and able to browse.

i done downloading the packages and try to install install-module "Path of the extracted file\posh-ssh" but still failed.

Please advise on how to install the Posh-ssh module.

Thanks.

darkoperator commented 3 years ago

https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/ https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/ it is due to a change in the PS Gallery, you need the latest PowerShellGet module.

green0tree22 commented 3 years ago

Thanks carlos

On Wed, Mar 3, 2021, 4:47 PM Carlos Perez, notifications@github.com wrote:

https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/ https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/ it is due to a change in the PS Gallery, you need the latest PowerShellGet module.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/383#issuecomment-789545598, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVT6FOGHM7DGHWEL4B3TP3TBXZRLANCNFSM4YQRFUOQ .