Shell script to monitor remote log files using SSH.
#!/bin/bash
remoteuser=johndoe
remotecomputer="12.12.12.12"
ssh -l "$remoteuser" "$remotecomputer" "tail -f path/to/log/files/log-`date +"%Y-%m-%d"`.php"
Shell script to monitor remote log files using SSH.
#!/bin/bash
remoteuser=johndoe
remotecomputer="12.12.12.12"
ssh -l "$remoteuser" "$remotecomputer" "tail -f path/to/log/files/log-`date +"%Y-%m-%d"`.php"