LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-08-2007, 06:33 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
Is there a way to allow a user to rsync files to my server without being able to SSH


Is there a way to allow a user to rsync files to my server without being able to SSH in using SSH keys?
 
Old 12-08-2007, 06:42 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
From "man rsync":
Code:
CONNECTING TO AN RSYNC DAEMON
       It is also possible to use rsync without a remote shell as the transport.  In this case you will directly connect to a remote rsync daemon,  typi‐
       cally  using  TCP  port  873.  (This obviously requires the daemon to be running on the remote system, so refer to the STARTING AN RSYNC DAEMON TO
       ACCEPT CONNECTIONS section below for information on that.)

       Using rsync in this way is the same as using it with a remote shell except that:

       o      you either use a double colon :: instead of a single colon to separate the hostname from the path, or you use an rsync:// URL.

       o      the first word of the “path” is actually a module name.

       o      the remote daemon may print a message of the day when you connect.

       o      if you specify no path name on the remote daemon then the list of accessible paths on the daemon will be shown.

       o      if you specify no local destination then a listing of the specified files on the remote daemon is provided.

       o      you must not specify the --rsh (-e) option.

       An example that copies all the files in a remote module named “src”:

           rsync -av host::src /dest

       Some modules on the remote daemon may require authentication. If so, you will receive a password prompt when you connect. You can avoid the  pass‐
       word  prompt  by  setting the environment variable RSYNC_PASSWORD to the password you want to use or using the --password-file option. This may be
       useful when scripting rsync.

       WARNING: On some systems environment variables are visible to all users. On those systems using --password-file is recommended.

       You may establish the connection via a web proxy by setting the environment variable RSYNC_PROXY to a hostname:port  pair  pointing  to  your  web
       proxy.  Note that your web proxy’s configuration must support proxy connections to port 873.

Last edited by win32sux; 12-08-2007 at 07:15 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync server with ssh transport ! jimmyjiang Linux - Software 8 03-29-2012 05:39 AM
ssh -X user@server works differently from two clients? xp_newbie Linux - Server 3 04-05-2007 11:16 AM
rsync, SSH server on a different port digen Linux - Server 3 03-09-2007 12:34 AM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM
the user can't connect to server over ssh spotass Linux - Newbie 5 05-31-2004 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration