I am trying to connecting the hostaddress using sftpclient provided by Renci.SSH.NET.
Reading host address, UserName,Password from XML file and make use of this host address to connect to host but error:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.##:22.
ps : also error during checkauthorization object reference not set to an instance of object.
My XML FIle:
<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<HostAddress>192.168.1.86</HostAddress>
<UserName>root</UserName>
<Password>root@123</Password>
<SrcPath>/var/lib/asterisk/sounds/recordings/</SrcPath>
<DstPath> ...
Go to the complete details ...