linking via SSH to another server.
| From: | Vail, Warren | Date: | Fri, 22 Aug 2003 23:47:23 +0000 |
| Subject: | linking via SSH to another server. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-160468@lists.php.net to get a copy of this message | ||
It appears that I need to use exec() to execute the ssh command to, in turn, execute a command on a
distant machine. Are there better ways to do this?
Any tricks to retrieving the output of the remote command? Do I need to use scp for this?
My server using Linux, and remote machines may be Sun or AIX.
thanks,
Warren Vail