cancel
Showing results for 
Search instead for 
Did you mean: 

an established connection was aborted by the server

Ram_NiwasVerma1
Level 3
Hi All,

We are facing issue while running the unix command. Running as simple command as "ls" is returning "an established connection was aborted by the server".

We are running the unix command through code stage:
try
{
ConnectionInfo connectionInfo;
connectionInfo=getConnInfo(Host,Username,Password,keyLocation);
var sshclient = new SshClient(connectionInfo);
sshclient.Connect();
SshCommand sc = sshclient.CreateCommand(Command);
sc.Execute();
Response = sc.Result;
sshclient.Disconnect();
}
catch (Exception ex)
{
Exception=ex.Message;

Even when we are trying to run this code outside of the blueprism say for visual studio we are getting the same error.

Please suggest.

Thanks.

------------------------------
Ram Niwas Verma
Technical Lead
Wipro
America/Indiana/Indianapolis
------------------------------
1 REPLY 1

ewilson
Staff
Staff
@Ram_NiwasVerma,

What SSH library are you using? Is this SSH.NET or something else?

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------