To find path of a file containing a pattern:

$ cd jails
$ grep -H 34 */etc/ssh/sshd_config

In this example the path of the files containing the number 34 will be printed.