Cleaner approach to finding ssh dir.