ssh host with bad connection (reconnect, itp) && refactor