Find all directories named ".ssh" in the current directory and its subdirectories, and set the permissions to 700 (read, write, execute for owner only).
find ~ -name ".ssh" -type d -exec chmod 700 {} \;