Re: ERROR: Could not obtain channel pty on remote - WeOnlyDo Discussion board

Re: ERROR: Could not obtain channel pty on remote (General questions)

by woddrazen, Friday, November 02, 2007, 11:38 (6231 days ago) @ yogi

Hi Yogi,


Can you try to add wodSSH.NET AllocatePty Property in your code and set it to False. You should done that before Connect Method.

AllocatePty Property determines if pseudo terminal is allocated.

More help for AllocatPty Property you can find here:
http://www.weonlydo.com/SSH.NET/Help/WeOnlyDo.Client.SSH.AllocatePty.html

or maybe if you use it already set it to True.
[code]Ssh1.AllocatePty = False
Ssh1.Connect()[/code]
Let us know how it goes.


Regards,
Drazen


Complete thread: