Re: Could not obtain channel pty on remote server. (General questions)
Hi Damba,
Thanks for quick reply i tried with AllocatePty property = true also but it resulted in same error.
Actually, i am using a common code that reads username and privatekeypath from a encrypted file and connect to different servers at different times. I am able to establish connection with others servers only in case of this server i am not able to establish a SSH connection with this server.
I have no changes to the protocol settings it is using default port 22.
Also i am able to connect to the server using scp2 commands...
Regards,
Archit Aggarwal