Ssh task fixes