Re: another expect question
- From: "gbarn" <gbarnette@xxxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 09:56:42 -0700
The script is very simple.....
log_user 0
spawn ssh -l root system_name
send "password\r"
expect "*"
interact
I would like to stop the password from being printed to the screen.
Thank you
"Uwe Klein" <uwe_klein_habertwedt@xxxxxxxxxxx> wrote in message
news:e7isf3-fns.ln1@xxxxxxxxxxxxxxxxxxxxxxx
gbarn wrote:a
I've set "log_user 0" but still get the password on the screen when I do
for"send "$pass\r".got some debug statement in your script like
puts stderr $pass ?
Anyone know how I can prevent this? I've tried "stty -echo" but that's
keyboard echoing.could you post your script?
uwe
Regards
.
- Follow-Ups:
- Re: another expect question
- From: Uwe Klein
- Re: another expect question
- References:
- another expect question
- From: gbarn
- Re: another expect question
- From: Uwe Klein
- another expect question
- Prev by Date: Re: Proposed: new support for vertical anchor value of 'baseline in addition to n,s,c
- Next by Date: case conversion
- Previous by thread: Re: another expect question
- Next by thread: Re: another expect question
- Index(es):
Relevant Pages
|