Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Unassigned: Installation Dependencies/Instructions [2706]

$
0
0
I have downloaded these three modules and placed them in the "C:\Windows\System32\WindowsPowerShell\v1.0\Modules\SSH-Sessions" directory.

https://sshnet.codeplex.com/downloads/get/944154
http://sshnet.codeplex.com/downloads/get/944155
"http://www.powershelladmin.com/w/images/a/a5/SSH-SessionsPSv3.zip" From the http://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library site.

I then run the below in powershell 4.0 (I do have .NET 4.0 installed).

PS C:\WINDOWS\system32> Import-Module SSH-Sessions
Import-Module : Could not load file or assembly
'file:///C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\SSH-Sessions\Renci.SshNet.dll' or one of its dependencies.
Operation is not supported. (Exception from HRESULT: 0x80131515)
At line:1 char:1
+ Import-Module SSH-Sessions
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Import-Module], FileLoadException
+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand

The Renci.SshNet.dll file does exist and i have attempted to manually register it, but that does not work. I am also the administrator of my system. What other dependencies am I missing to get this module imported?
Comments: ** Comment from web user: jmachado81 **

The resolution of this was found to "unblock" the zip file when you go to file properties. This must be done prior to adding additional files to this zip file (i.e. help file).


Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>