use old ssh code until higebu's branch is ready, see #1019

This should be merged to fix the build, but also to avoid duplicate issues such as #1025