using expect to log into devices