Expect code for connecting to just about any unix server