[Ssh-sftp-perl-users] How can I get a second chance after an authentification failure
Brought to you by:
dbrobins
From: Miky J <mi...@ya...> - 2006-01-09 10:12:19
|
Hi, I'm not the only one to log on some machines and sometimes passwords change here. When I do $ssh->login($login, $password); with $password='wrong password' I'd like my script to make a second attempt with $password='good password' I have tryed if ($ssh->login($login, $password)) { ... } else { retry to connect } but it didn't work. Does anyone know how to do that ? ___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com |