updates and fixes to build ssh targets