views:

37

answers:

2

I want to update some file in a server, with an automated script and the target files on a different server. Haven't started yet, but I think there will be authorization and connection issues during the process. Any suggestion on how I could approach?

Thank you

+1  A: 

Set up ssh keys so that you do not need a password. You can then use scp or rsync.

More sophisticated systems:

davetron5000
A: 
  • Easiest solution is cross-mounting the filesystem (e.g. NFS) across servers.
  • If your servers support rcp/rsh, you can use .rhosts file to allow automated connection.
  • If only ssh/sftp/scp is available, Google for automated ssh/sftp - it is doable but trickier to set up.
DVK