hey all,
im developing a little GUI that will login to a openwrt router, and so far ive got it working somewhat. Its using Appgate's mindterm java ssh terminal (http://www.appgate.com/products/5_MindTerm/ --- the BasicClient example file to connect), and it opens a terminal with the GUI. In the end, i will get rid of the terminal so that you dont need to see the command lines, but for the time being i need to make sure commands are reaching the router and being executed.
I ran into my first problem today - i have made a method to execute commands (using RunRemoteCommand2 example file), but when i try to use the method to send a command to the router, the ssh connection is dropped and i get an error message saying so. Can anyone take a look at the Mindterm library and try to help me out here?
basically i have a button in my gui mapped to run a "ls -l" command and print it to the terminal.
If you need code or anything, let me know or instant message me.