This project is read-only.

Calling SSH from Sharepoint

Jun 14, 2013 at 1:22 PM
Edited Jun 14, 2013 at 1:23 PM
I've wrapped SSH.Net in a web service so that I can call it from SharePoint. I'm using SSH.Net to make calls from a windows server to a Unix server. On my local laptop the web service is working fine and my SSH.Net calls are working great. I then released the code to our development web server. I created a test app to ensure web service is working on the dev web server. I'm running the test app on my local laptop but it calls out to the DEV web server and that also works perfectly. Unfortunately when I call the web services from our SharePoint Server I get a the "No suitable authentication method found to complete authentication." error. In all my test scenarios regardless of what method initiates the web service call the SSH.Net code is calling the same Unix server.

I don't understand why I'm getting the error because I've added logging to the SSH.Net code and password authentication is one of the allowed authentication methods. I've also confirmed that the web service is using the proper username and password in all cases.

I'm at a loss as to why I'm getting this error. Any help or suggestions would be greatly appreciated.