login about faq

Recently I asked a question about setting up to allow 'rsync' without terminal allowed, and found that the command I had to allow was "rsync --server -dlogDtpr .". THe command I was using was something like "rsync -a --rsh sshg3 file host:file". It still isn't working for the clients I was trying to get it working for. They are using a command like "rsync -av -e ssh2 user@host:/foo/bar /foo/bar" (where ssh2 is symlinked to sshg3), and the command it complains about in the log is "rsync --server --sender -vlogDtpre.is . /foo/bar/". How does one get from point A to point B, i.e. how do I know what to allow from what the uer is trying to do? Is there a way to tell Tectia that "rsync is OK, don't be fussy about parameters"?

asked Dec 21 '11 at 17:22

Kevin%20Vail's gravatar image

Kevin Vail
56161721


OK, it appears that what you see is what you get -- there is no special syntax for this. For my situation, the solution turned out to be using rsync's "pseudo-daemon" mode so that the only allowed command was rsync --server --daemon .

link

answered Jan 10 '12 at 17:32

Kevin%20Vail's gravatar image

Kevin Vail
56161721

Out of couriosity, what are you attempting to accomplish. SSH is normally used for connection, transfering of files; rsync backup of files, synchronizing databases/files within cloud.

link

answered Dec 27 '11 at 23:35

renae's gravatar image

renae
1

The client wants to use rsync to synchronize databases/files among their servers, but does not want direct login for the accounts they are using for rsync.

link

answered Dec 28 '11 at 16:23

Kevin%20Vail's gravatar image

Kevin Vail
56161721

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×15
×4
×3
×1

Asked: Dec 21 '11 at 17:22

Seen: 3,729 times

Last updated: Jan 10 '12 at 17:32

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.