I am trying to create a portable cygwin install. I downloaded all the
packages I needed and installed Cygwin on a Box. I then tried to Zip them
all into a self extracting.exe. When I unzip them on a clean machine it
appears to work. However when I try to run ssh-host-config I get these
errors. I a
quot;yes\r";
exp_continue }
"Please enter" { send "pwd\r";
exp_continue }
"Reenter:" {send "pwd\r";
exp_continue }
}
blazt wrote:
>
> Thank you Dimitri. It was my bin bash that cuased it to not work. I was
> not aware that I did not have
Thank you Dimitri. It was my bin bash that cuased it to not work. I was not
aware that I did not have to include that. Once I fixed that and put things
back. it worked.
Thank you
Dmitry Semyonov-2 wrote:
>
> On Tue, Jan 13, 2009 at 22:16, blazt wrote:
>
>> I created the
expect {
"Should this script create a local user 'sshd' on this machine?
(yes/no)" { send "yes\r" }
"new local account 'sshd'? (yes/no)" { send "yes\r" }
}
I took out the exec so I could see the script run and it simply hangs at the
first
I am not sure how to do a except script. I have been looking at what I can
find on the net. Would I pass this command into the except part?
blazt wrote:
>
> How can I automate this process? If I do a ssh-host-config -y it works
> fine all the way up to asking about the privileged a
How can I automate this process? If I do a ssh-host-config -y it works fine
all the way up to asking about the privileged account. I want to use this
account and can add the password to the command line parameter but how can I
answer yes for the first part but no when it comes to this question?
T
6 matches
Mail list logo