Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading Renci.SshNet on Windows Server 2019 #9

Open
rmbolger opened this issue Sep 27, 2019 · 0 comments
Open

Error loading Renci.SshNet on Windows Server 2019 #9

rmbolger opened this issue Sep 27, 2019 · 0 comments
Assignees
Labels

Comments

@rmbolger
Copy link
Owner

After installing a recent Windows Server 2019 update, KB4512534 (August 17th, 2019), Posh-IBCLI functions have started throwing errors related to loading the .NET SSH library Posh-SSH depends on, Renci.SshNet.

The following issue goes into detail about the problem: darkoperator/Posh-SSH/issues/284

Apparently the Windows update installed a conflicting version of the library into the GAC which PowerShell tries to load instead of the copy included with the module. The following options are currently available to fix this:

  • Uninstall the hotfix
  • Manually remove the bad version of the library from the GAC
  • Modify your local copy of Posh-SSH to rename the DLL and its reference in the module's PSD1 file. (This is my preferred solution until an official fix is released)
@rmbolger rmbolger added the bug label Sep 27, 2019
@rmbolger rmbolger self-assigned this Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant