Hi all :), I try spawn command for SSH automation using expect.
As we all know that “&” will make it background process, but when we ssh to server we need “expect” for answering password prompt.
my question, how we can install spawn tool on SLES?
here my version
Linux version 2.6.16.21-0.8 (geeko@buildhost) (gcc version 4.1.0 (SUSE Linux)) #1 Thu Jun 16 20:17:17 CEST 2011
$ uname -a
Linux Proc_m0_s13 2.6.16.21-0.8 #1 Thu Jun 16 20:17:17 CEST 2011 x86_64 x86_64 x86_64 GNU/Linux