fixes for running ssh