ssh pipeline cleanup