Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wanna connect SSH using C#, but it occured a error, please give me a solution, thanks!
(sorry, I do not know how to insert picture to my question}

https://www.dropbox.com/s/xlush4cytxowacs/ssh.JPG[^]
https://www.dropbox.com/s/j3aamj8mjxqo5jm/shh1.JPG[^]
P/s: I have tested by using putty,It's Really good
Posted
Updated 1-Dec-13 10:08am
v3

1 solution

Secure Shell(SSH) uses 22 as a port number. Try by specifying port number as 192.168.7.2:22.

Edit
You can also verify your credentials by SSH Client.

http://www.putty.org/
 
Share this answer
 
v2
Comments
Prof2020 1-Dec-13 1:05am    
thanks for your help, but how i have tried and receive a notify "The requested name is valid, but no data of the requested type was found" hope you and everyone help me.
I know can use putty to connect ssh, but i wanna my project implement in C#.
Thank in advance!
RaisKazi 1-Dec-13 10:12am    
I know you want to do it by C#. But have you tested credentials using Putty?
Prof2020 1-Dec-13 16:02pm    
yep, i have tested in putty(good), but i cant connect using my form, do you have any suggest to me ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900