fix ssh connections in build scripts