make_ssh_cmd function added

* make ssh commands string separately