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? and How do I find SLES version?

here my version

Linux version (geeko@buildhost) (gcc version 4.1.0 (SUSE Linux)) #1 Thu Jun 16 20:17:17 CEST 2011

$ uname -a
Linux Proc_m0_s13 #1 Thu Jun 16 20:17:17 CEST 2011 x86_64 x86_64 x86_64 GNU/Linux