add ssh log no passwd and some bug fix