Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: curt137
2,789
Posted By curt137
Thanks. But I am looking for expect script way...
Thanks.
But I am looking for expect script way to execute the remote script.
2,789
Posted By curt137
Expect script to execute a script on a remote host
Hi,
I am new to the expect scripting.
I have this expect script as below :
spawn ssh remote_server -l id
set pass "12345"
set opt "s"
expect "Password:" {send "$pass\r" ; }
...
Showing results 1 to 2 of 2

 

Featured Tech Videos

All times are GMT -4. The time now is 11:13 PM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy