Get value-name

Hello, I need get all posible value-names for any menu level over a ssh conection using phpseclib… for example over a interactive session can run “/interface wireless get value-name=[TAB]” and return many value-name’s but I try “/interface wireless get value-name=\t” and other ways without susses.

my problem, how can i get all posible value-name from non-interactive ssh session?

Maybe use write() instead of exec() (if you aren’t already)?

The problem with most SSH libraries in general is that they want to execute commands, but that’s not what you want to get values. You want to just “press keys”, and then read what the screen looks like afterwards.

And no… AFAIK, there’s no way to get value lists from a non-interactive shell.