Duplicate usernames on password less scp
Hi,
I have a situation where I have the same username on more than one computer and they all need to run a password less rsync over ssh to the same destination server, and keep separate copies from each computer.
The destination machine has the pub key from each computer in the authorized_keys file. Each computer has a standard /home/user set up.
The idea is that the destination server keeps copies from each computer under the respective /home directory.
How do I accomplish this?
Maybe with a /home/machine name instead of using the (duplicate) username? If so what changes do I make for this to work?
All I could find under google was the normal single username set up.
Signature · 1 line
Bobby
2010/9/12 Bobby <[email protected]>:
Quoted 11 lines
I have a situation where I have the same username on more than one computer and they all need to run a password less rsync over ssh to the same destination server, and keep separate copies from each computer.
The destination machine has the pub key from each computer in the
authorized_keysfile. Each computer has a standard/home/userset up.The idea is that the destination server keeps copies from each computer under the respective /home directory.
How do I accomplish this?
Just set the rsync commands on the computers to sync their data into a different subdirectory of the home directory on the server.