Re: another expect question
- From: Uwe Klein <uwe_klein_habertwedt@xxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 21:15:31 +0200
gbarn wrote:
The original script as presented worked fine.---------------^-mind the space
However, I have made the suggested changes and the password is still printed
to my screen. The script is now:
log_user 0
spawn ssh -l root kull
expect "word: "
send "password\r"
expect -re ".*"
interact
is the login successfull?
what happens with the password if you log in manually?
uwe
.
- Follow-Ups:
- Re: another expect question
- From: gbarn
- Re: another expect question
- References:
- another expect question
- From: gbarn
- Re: another expect question
- From: Uwe Klein
- Re: another expect question
- From: gbarn
- Re: another expect question
- From: Uwe Klein
- Re: another expect question
- From: gbarn
- another expect question
- Prev by Date: Re: tk ability
- Next by Date: Re: another expect question
- Previous by thread: Re: another expect question
- Next by thread: Re: another expect question
- Index(es):
Relevant Pages
|