removed ssh_cmd() function