All,
I'm fairly new to php (simple forms and hello world stuff)
I'm trying to create a page that when loaded will go out grab some text information from a SSH session on my router parse it out and display it
The general idea would be
connect to (ip address, port) send line (loginuser + Password) send line (su to root + password) send line (command) receive text from command (string X)
parse x and display stats as html on page
I've seen a few tutorials on how to install libraries from ubuntu but my host is godaddy so i wont have access to install anything in that manner (i only have simple ftp access)
I'm looking for a simple simple simple ssh client and hopefully a small example on how to use it (send commands and retrieve text)
Thanks if you can help