Link to home
Start Free TrialLog in
Avatar of Isaac Johnson
Isaac JohnsonFlag for United States of America

asked on

SharpSSH error - Tamir.SharpSsh.jsch.JSchException: invalid server's version String

I get a error returned when I get to the port directive of SharpSSH
although, It worked once during testing.

Tamir.SharpSsh.jsch.JSchException: invalid server's version String
   at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)
   at Tamir.SharpSsh.jsch.Session.connect()
   at Tamir.SharpSsh.SshBase.ConnectSession(Int32 tcpPort)
   at Tamir.SharpSsh.SshBase.Connect(Int32 tcpPort)
   at DEPRO_SPARK_CRM.Program.processMailer() in C:\_TFS\DendreonSPARKAutomation
\DEPRO-SPARK-CRM\Program.cs:line 139 Exception caught

I understand that this error might occur if the remote server is using SSH 1.5.

I haven't been able to get an answer as of yet.

Is there anything you can share.

Isaac
ASKER CERTIFIED SOLUTION
Avatar of masterpass
masterpass
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial