Netconf using WeOnlyDo.Client.SSH (General questions)
Hi,
I try to implement netconf protocol using ssh control.
I configure the component to use ssh2 protocol, but I can connect sucessfull to juniper switch.
I get the followings error: Could not obtain channel pty on remote server
If I not allocate pty I get Failed to execute command or shell.
I use version: 2.5.2.133
I can connect to this switch on port 830 and execute commands with another application.
Thank you
Re: Netconf using WeOnlyDo.Client.SSH
Hi,
Did you try setting AllocatePty property to true?
Also, can you show me the code that you're executing?
Can you try something like this:
http://www.weonlydo.com/code.asp?did=Send-multiple-commands-to-SSH-server-using-asynchronous-connection
Does that work?
Regards,
Damba
Re: Netconf using WeOnlyDo.Client.SSH
Solved.
Subsystem must be netconf