Search Results

Search: Posts Made By: Sivarajan N
2,266
Posted By Sivarajan N
I want to scp file from one server to another, both server have different user name and
Is there any possibility of Invoke user input

Like,using expect script interactive

expect script.sh user passwd

cat script.sh
#!/usr/bin/expect
scp ~/text.txt $1@IP: ~/
expect...
Showing results 1 to 1 of 1

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