perlknight has asked for the wisdom of the Perl Monks concerning the following question:
$scp=Expect->spawn("/usr/bin/scp -r \"$srcpath\" ${dest_host}:$destpa
th")
...
print $scp("password") This echoes the password in clear text to screen, I don't want this. Is there a way to have it print "****" or just blanks?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Expect.pm and password
by grep (Monsignor) on Feb 13, 2002 at 22:24 UTC | |
by perlknight (Pilgrim) on Feb 15, 2002 at 16:21 UTC |