Hi,
I am trying to login to the server and which works fine. After the login, a
Power Broker menu is shown, something like below:
1) Power Broker Menu
2) Change Power Broker Password
3) Change Password on this server
0) Exit
Please enter choice:
I am not able to go past this and I have tried various combination. On a
normal server, I am able to login and execute commands, but on this specific
server, I have no idea how to go ahead.
This is the sequence of code I am trying:
//I did a normal authentication, which is successful
libssh2_channel_open_session()
libssh2_channel_request_pty()
libssh2_channel_shell()
libssh2_channel_read() // This is reading this
menu.
I am trying, libssh2_channel_write(), but this is not working.
Please suggest a solution.
Thanks,
Naveen.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-03-01