set user rootset host 10.141.5.60set password jd07gm09spawn ssh $user@$hostexpect "*assword:*"send "$password\r"interactexpect eof