Netconf using WeOnlyDo.Client.SSH - WeOnlyDo Discussion board

Netconf using WeOnlyDo.Client.SSH (General questions)

by Crandel, Tuesday, April 24, 2012, 09:02 (4394 days ago)

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

by wodDamir, Tuesday, April 24, 2012, 09:08 (4394 days ago) @ Crandel

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

by Crandel, Tuesday, April 24, 2012, 09:15 (4394 days ago) @ wodDamir

Solved.

Subsystem must be netconf