Add methods and tests for SSH cloning.