Use ssh for submodules

Is it ok to use ssh instead of https for submodules? Currently https doesn't work on Ubuntu for whatever reasons (https://bugs.launchpad.net/ubuntu/+source/gnutls26/+bug/1111882).