OneDev supports to access repositories via SSH protocol since 3.1.
SSH clone url can be shown as below from root of project page:
It uses port 6611 by default, and this can be changed via SSH setting like below: