I am trying to execute a simple spawn SCP scenario to download files from a remote server.
This script is timing out:
spawn scp USERID@SERVERIP:FILEPATH_NAME .
set timeout 30
expect {
timeout {
puts "process timed out"; exit
}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.