Hack Forums
[C#] checking remote ssh without SSH.Net - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] checking remote ssh without SSH.Net (/showthread.php?tid=4905555)



checking remote ssh without SSH.Net - Lrrr - Jul 13, 2015

Hi Guys,
Long time L{A/N}MP stack developer here working on my first c# project.

Trying to understand how to "test" a username and password for ssh and return a boolean based on if the creds worked out not.

Currently I am doing this via SSH.Net

However, that requires the SSH.Net library to be downloaded and the .dll to be imported.

Is there a way to test the ssh connection via sock or some other way that does not require the SSH.Net lib?


* - jarvur - Jul 15, 2015

All you have to do is import the lib. :?
I've never messed around with SSH without any libs in C# so not sure how (even if) you can access it remotely.