<div dir="ltr"><div dir="ltr">On Fri, Oct 7, 2022 at 1:46 AM c.buhtz wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You see there are several sub-arguments that need to be put to "ssh" via the "--rsh".<br></blockquote><div><br></div><div>In addition to what Kevin said, I find it easier to put customizations into the ~/.ssh/config file under a custom hostname (or the main hostname, as you prefer).  For instance:</div><div><br></div><div><font face="monospace">Host name1</font></div><div><font face="monospace">    Hostname localhost</font></div><div><span style="font-family:monospace">    Port 22</span><br class="gmail-Apple-interchange-newline"></div><div><span style="font-family:monospace">    User username</span></div><div><font face="monospace">    ServerAliveInterval 240</font></div><div><font face="monospace">    LogLevel Error</font></div><div><font face="monospace">    IdentifyFile /some/path</font></div><div><br></div>At that point you can ssh and/or rsync to "name1" and all those options auto-apply (you don't even need the "user@" bit). And rsync should default to using ssh these days (though exporting RSYNC_RSH=ssh does make extra sure of that).</div><div class="gmail_quote"><br></div><div class="gmail_quote">..wayne..</div></div>