Re: Duplicate usernames on password less scp
MichaĆ Nazarewicz <[email protected]> Sun, 12 Sep 2010 06:02:30 +0900
| Newsgroups | org.kernel.vger.linux-admin |
|---|---|
| Message-ID | <[email protected]> |
2010/9/12 Bobby <[email protected]>: > 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? Just set the rsync commands on the computers to sync their data into a different subdirectory of the home directory on the server.