Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
opaounari
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Jan 2010
Default Are there yet any ssh libs working in mango?

My plan is to build an app which could transfer a printable file to a remote unix based system, send some bash commands and read the results.

I haven't found any confirmation about working ssh libs. Are there any?
My phone is unlocked so accessing the file system and unnative libs aren't a problem but it would nice if that isn't compulsory.

Thanks in advance!
 
sensboston
Old
#2  
Recognized Developer
Thanks Meter 321
Posts: 1,250
Join Date: Nov 2009
Location: Boston, MA

 
DONATE TO ME
Quote:
Originally Posted by opaounari View Post
I haven't found any confirmation about working ssh libs. Are there any?
Have you ever tried to google "Silverlight SSH"? The very first link should bring you a reference to http://sshnet.codeplex.com/ (already ported to WP7/SL)

Also you may try to look/port these free libs:
http://granados.sourceforge.net/
http://sourceforge.net/projects/sharpssh/
The Following User Says Thank You to sensboston For This Useful Post: [ Click to Expand ]
 
opaounari
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Jan 2010
Whopsie! I only tried to google "c# ssh" or with windows phone. Only found out about sharpssh, granados and else but their functionality wasn't guaranteed... Thanks alot I try'll that out and sorry!
 
sensboston
Old
#4  
Recognized Developer
Thanks Meter 321
Posts: 1,250
Join Date: Nov 2009
Location: Boston, MA

 
DONATE TO ME
Quote:
Originally Posted by opaounari View Post
Thanks alot I try'll that out and sorry!
Here (on XDA) we do have a "Thanks" button, located under helpful post. Don't hesitate to use it
The Following User Says Thank You to sensboston For This Useful Post: [ Click to Expand ]
 
opaounari
Old
(Last edited by opaounari; 16th April 2012 at 08:48 PM.) Reason: Accidental smile after "1:"
#5  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Jan 2010
Of course! Thanks for pointing that out.

I tried to use the lib u mentioned
By these steps:
1: Download & unzip
2: In visual studio I have my windows phone project open
3: Solution Manager -> Right click on my project -> Add reference -> Projects tab -> Renci.SshNet -> OK

Then it just displays error:
Microsoft Visual Studio 2010 Express for Windows Phone

Unable to add the selected project reference. The project reference must be another silverlight for Windows Phone project that is the same or lower version.

-> No clues :S even after googling this alot.
 
sensboston
Old
#6  
Recognized Developer
Thanks Meter 321
Posts: 1,250
Join Date: Nov 2009
Location: Boston, MA

 
DONATE TO ME
You should use Renci.SshNet.WindowsPhone.dll (http://sshnet.codeplex.com/releases/...nloadId=352294)
Or download source code tree and add WP7 project as reference (http://sshnet.codeplex.com/SourceCon...st/changesets# )
The Following User Says Thank You to sensboston For This Useful Post: [ Click to Expand ]
 
Dbeattie
Old
#7  
Member
Thanks Meter 8
Posts: 51
Join Date: Feb 2012
Location: Lincoln, NE
Looks like there is a nuget package too:
http://nuget.org/packages/SSH.NET

 
Post Reply+
Tags
mango, ssh
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...