I\'ve been trying to write an expect script which has one method to open an ssh connection and this method can be called by other methods so that they can send additional comman