($ssh->read_all(2) =~ />\s*\z/) or die "where's the remote prompt?";