in reply to SSH to Unix and search files for string
$ ssh foo@server /usr/local/bin/grep -C 100 "the string you are lookin +g for" /var/log/whatever [download]