<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: rsync without password in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rsync-without-password/m-p/4555562#M82460</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I use rsync -e ssh to run the authentication and transfer via ssh. This is more secure and if you have password free ssh, rsync will work the same way.&lt;BR /&gt;&lt;BR /&gt;No need to play with rsyncd.conf or rsyncd.secrets.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 28 Dec 2009 16:15:05 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2009-12-28T16:15:05Z</dc:date>
    <item>
      <title>rsync without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsync-without-password/m-p/4555560#M82458</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;I'd like to configure rsync between 2 linux server without password question.&lt;BR /&gt;It works well using passwordless SSH.&lt;BR /&gt;Is it possible to configure just: &lt;BR /&gt;&lt;BR /&gt;rsyncd.conf&lt;BR /&gt;rsyncd.secrets &lt;BR /&gt;&lt;BR /&gt;and SSH configuration stay untouched?&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Dec 2009 03:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsync-without-password/m-p/4555560#M82458</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2009-12-28T03:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: rsync without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsync-without-password/m-p/4555561#M82459</link>
      <description>The rsyncd.secrets file is used by the rsync server side only. It tells rsync which username/password pairs to accept.&lt;BR /&gt;&lt;BR /&gt;For the client side, you would have to use either the RSYNC_PASSWORD environment variable or the --password-file option to avoid the password prompt.&lt;BR /&gt;&lt;BR /&gt;Note that "man rsyncd.conf" says this about rsync authentication:&lt;BR /&gt;----&lt;BR /&gt;AUTHENTICATION STRENGTH&lt;BR /&gt;The authentication protocol used in rsync is a 128 bit MD4 based challenge response system. This is fairly weak protection, though (with at least one brute-force hash-finding algorithm publicly available), so if you want really top-quality security, then I recommend that you run rsync over ssh.  (Yes, a future version of rsync will switch over to a stronger hashing method.)&lt;BR /&gt;&lt;BR /&gt;Also note that the rsync daemon protocol does not currently provide any encryption  of the data that is transferred over the connection. Only authentication is provided. Use ssh as the transport if you want encryption.&lt;BR /&gt;----&lt;BR /&gt;&lt;BR /&gt;If your problem is that the presence of the default SSH key affects the behaviour of the ssh command, the solution is simple: just save the key dedicated to rsync use with a non-default name! (i.e. not ~/.ssh/id_rsa or ~/.ssh/id_dsa, but something different)&lt;BR /&gt;&lt;BR /&gt;Then you can tell rsync to use ssh with a non-default SSH key using an option like:&lt;BR /&gt;&lt;BR /&gt;rsync -e "ssh -i /some/where/custom_key" &lt;OTHER_PARAMETERS...&gt;&lt;BR /&gt;&lt;BR /&gt;If the SSH key is saved with a non-default name, OpenSSH will ignore it unless explicitly requested to use it. &lt;BR /&gt;If you use a commercial SSH package, the necessary filenames and syntax may be different, but the same idea applies.&lt;BR /&gt;&lt;BR /&gt;At the server side, you can also set some options in the SSH authorized_keys file to lock down that particular SSH key so that it can be used for starting a rsync server-side *only*. See the "AUTHORIZED_KEYS FILE FORMAT" chapter in "man sshd" for more information. &lt;BR /&gt;&lt;BR /&gt;MK&lt;/OTHER_PARAMETERS...&gt;</description>
      <pubDate>Mon, 28 Dec 2009 09:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsync-without-password/m-p/4555561#M82459</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-12-28T09:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: rsync without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsync-without-password/m-p/4555562#M82460</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I use rsync -e ssh to run the authentication and transfer via ssh. This is more secure and if you have password free ssh, rsync will work the same way.&lt;BR /&gt;&lt;BR /&gt;No need to play with rsyncd.conf or rsyncd.secrets.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 28 Dec 2009 16:15:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsync-without-password/m-p/4555562#M82460</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-12-28T16:15:05Z</dc:date>
    </item>
  </channel>
</rss>

