When cloning Git projects that have submodules, one must input credentials multiple times, once for the core/parent repo and once for each submodule. To avoid that, it is possible to create an SSH public/private key pair and add the public key to one's Bitbucket user profile. When that is done, a Bitbucket project can be cloned without entering any credentials whatsoever. That's the idea anyway.
However, after setting that up, if the project has submodules and the --recurse-submodules option is used on the git clone command, the process hangs with a bash error. Here's the command being used on Windows 7 using the Git Bash command line:
git clone git@bitbucket.org:[account_owner]/[repo_name].git -b [branch_name] --recurse-submodules [target_directory]
The core/parent repo clones fine without the --recurse-submodules option. When attempting to also clone submodules, the core/parent repo is cloned fine, but once the submdule cloning starts, everything hangs with the following bash error/notice:
bash: /dev/tty: No such device or address
The process must be terminated using CTRL-C.