Refactor ssh connection params