I googled and searched this site.. but haven't been able to find any evidene of someone sucessfully using PHP-CLI to open an INTERACTIVE ssh session. I basically want to use PHP-CLI to SSH to another machine, run some rsync commands, logout of machine.
There is no web interface..... just playing with using PHP as a scripting language replacement for Python/Perl/Bash
Basically building a Rsync Server with a "Roving" PHP BOT initiating backups from a list of "CLIENTS" stored in MySQL. I want the SERVER to Pull rather than have clients PUSH the rsync in order to control bandwidth usage on the server side more efficiently.
FYI: I found a great tool which makes HIPAA and Rsync Friendly file encryption murk.sourceforge.net