Results 1 to 2 of 2
Hello
On network I have 5 linux machine ( sys1, sys2, sys3, sys4, sys5).
now at some time I want to copy report file , which already exists on every ...
- 11-01-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 7
Automated sftp or scp script
Hello
On network I have 5 linux machine ( sys1, sys2, sys3, sys4, sys5).
now at some time I want to copy report file , which already exists on every machine , to one perticular machine.
e.g.
I want to copy report file from sys1 , sys2 ,sys3 and sys4 to sys5
source:sys1,sys2,sys3,sys4
Destination:sys5
For this I required an automated script , which provides password .
Can anyone give me such script which initiates scp or sftp session ,proveds password to them and copies report file from source to destnation ?
waiting for your reply..
sac
- 11-02-2006 #2Probably better to use pubkey authentication instead. One howto (of many) here: http://wiki.suselinuxsupport.de/wikk...AuthenticationFor this I required an automated script , which provides password


Reply With Quote