add support for ssh access on public repositories.

------
should fix #656.