Quantcast
Channel: SSH.NET Library
Viewing all 2955 articles
Browse latest View live

New Post: Cannot find message [/myfiletoupload.csv]

$
0
0
Hi, I have the exact same problem and this is the only mention I can find of it. Did you find a solution?

Thanks.

Commented Unassigned: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========
Comments: ** Comment from web user: drieseng **

This should work fine with the upcoming __2016.0.0__ release.
Support for .NET Core (.NETStandard 1.3) will be available in __beta 3__, and this should work fine in __Xamarin__.
If you want to follow up on this, please open an issue in our new home at GitHub:
https://github.com/sshnet/SSH.NET

Commented Unassigned: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========
Comments: ** Comment from web user: TimHaydnJones **

Hi drieseng - thanks for taking the time to reply.
Any idea when the beta 3 release might be out?
Thanks

Tim

New Post: Cannot find message [/myfiletoupload.csv]

$
0
0
Hello,

I used the source code instead of the nuget package so I could debug the project and change things I needed to make it work.

It's been a long time,
Hope it helps.

New Post: Cannot find message [/myfiletoupload.csv]

$
0
0
Thanks. I ended up changing my code to use the fileUpload method instead - which worked.

Commented Unassigned: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========
Comments: ** Comment from web user: drieseng **

2016.0.0-beta3 is available now.
Get it [here](https://www.nuget.org/packages/SSH.NET/2016.0.0-beta3)!

Closed Unassigned: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========

Commented Unassigned: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========
Comments: ** Comment from web user: TimHaydnJones **

Thanks drieseng. I can confirm that SSH.NET beta 3 was successfully installed into my Xamarin project but it seems to have brought a new issue with it and provokes the following error on building the project

Severity Code Description Project File Line
Error Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Security.Cryptography.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'System.Security.Cryptography.Primitives.dll'
at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute() TaskyAndroid

Any suggestions pls?

Thanks

Tim


Commented Unassigned: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========
Comments: ** Comment from web user: TimHaydnJones **

Sorry, meant to add, this seems to have been introduced with the SshNet.Security.Cryptography v1.2.0 which is installed as part of SSH.NET beta 3. Uninstalling SshNet.Security.Cryptography v1.2.0 removes the error and the project builds OK

Commented Unassigned: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========
Comments: ** Comment from web user: drieseng **

Which target framework version of __SSH.NET__ is Xamarin picking up ?

The __SshNet.Security.Cryptography__ package has a dependency on the __System.Security.Cryptography.Primitives__ package for the __.NETStandard1.3__ and __UAP10.0__ TFMs.
If Xamarin is using one of these target framework (I would expect it to use __.NETStandard1.3__), then it should also find the __System.Security.Cryptography.Primitives__ assembly.

You should not (have to) remove the __SshNet.Security.Cryptography__ package as **SSH.NET** relies on it for the __RIPEMD160__ HMAC and hash algorithm.

Reopened Unassigned: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========

Released: 2016.0.0-beta2 (Jun 25, 2016)

Created Release: 2016.0.0-beta2 (jun 25, 2016)

Released: 2016.0.0-beta3 (Jul 27, 2016)

Created Release: 2016.0.0-beta3 (jul 27, 2016)


Commented Issue: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========
Comments: ** Comment from web user: TimHaydnJones **

Hi again drieseng - sorry to be a pain in the ****

Is this what you were asking? (the output from Package Manager on installing the beta 3)

Attempting to gather dependency information for package 'SSH.NET.2016.0.0-beta3' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2016.0.0-beta3' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2016.0.0-beta3'
Resolved actions to install package 'SSH.NET.2016.0.0-beta3'
Adding package 'SSH.NET.2016.0.0-beta3' to folder 'C:\Users\Tim\Downloads\Tasky\packages'
Added package 'SSH.NET.2016.0.0-beta3' to folder 'C:\Users\Tim\Downloads\Tasky\packages'
Added package 'SSH.NET.2016.0.0-beta3' to 'packages.config'
Successfully installed 'SSH.NET 2016.0.0-beta3' to TaskyAndroid
========== Finished ==========

Cheers

Tim

Released: 2016.0.0-beta3 (Jul 27, 2016)

Updated Release: 2016.0.0-beta3 (jul 27, 2016)

Commented Issue: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========
Comments: ** Comment from web user: drieseng **

I've since been able to reproduce this issue myself.
__Xamarin__ is actually using the __.NETStandard1.3__ target framework version of __SSH.NET__, but doesn't support/load the __System.Security.Cryptography.Primitives__ assembly.

I've contacted someone at __Microsoft__/__Xamarin__ for this issue.

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: karun100 **

Hi

I am facing same issue when i do import ssh module in windows 2012 server..can some one please help:-

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


i have tried :--

$AssemblyFile = 'path of my Renci.SshNet35.dll ' and above link says to unblock the zip file in property ..sorry not able to understand what does that mean..can you please say in detail..

I am new to power-shell does version of RencisshNet different for different for different version of power-shell..
I am using windows 2012 server.

Please help resolve this issue..

Thanks & Regards
Karun

Viewing all 2955 articles
Browse latest View live


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