my main goal is to send one line of a shell commant that would connect to the device through ssh and execute the command (so i don't need to use expect).
something like: ssh root@192.168.178.151 '<command>'
and as i figured out, it can't be done with a password!
|