command = "net use" + " * " + "\\" + sharepath+ " " + "password" + " " + "/u:"+"domainname" + "\\username" sshconnObj.exec_command(command)