http://www.perlmonks.org?node_id=849140


in reply to Getting rid of $/ on linux

This is just a guess but all this mucking around with line endings makes me think you might want to look over what Net::SSH::Expect has to say about psuedo-terminals.