Hi,
I need to write a script to scp/sftp files from server A to server B..But i do not want to overwrite the files which already exist on server B.
Anyone has a script which does the above
Regards
Hi,
I need to write a script to scp/sftp files from server A to server B..But i do not want to overwrite the files which already exist on server B.
Anyone has a script which does the above
Regards
Suse has a builtin command: rsync
It does EXACLTY what you want - sync up a local and a remote directory.
Hi
Do you have any idea how to avoid the server from prompting for user /password before rsync
Something other than
"ssh-keygen -t rsa
"
It does not seem to work.
I have to copy some files from source (SERVER B) as user oracle.
FROM B to A
So i generated a key connected as user oracle on the target machine (SERVER A).
I copied the pub key onto the server (where i will be copying the files from say server B) under /home/oracle and have added it to authorisedkeys.
But it does NOT work
Thanks