IP not logged in log file

Bill Moseley moseley at hank.org
Thu Jun 3 13:30:38 GMT 2004

On Thu, Jun 03, 2004 at 12:30:53AM -0700, Wayne Davison wrote:
> On Fri, May 28, 2004 at 09:05:42AM -0700, Bill Moseley wrote:
> > I just setup rsync on Solaris 2.6 and my log file shows:
> > 2004/05/28 07:54:03 [20996] rsync allowed access on module foo from (
> This message is only output if you're running a daemon rsync over a
> remote shell connection.  In such a case rsync doesn't really have a
> good way to know where the connection came from, so it uses the value
> of $SSH_CLIENT (if set), otherwise it falls back to the value.

Thanks for the tip!  Adding to my $HOME/.cshrc file:

    setenv SSH_CLIENT "$SSH2_CLIENT"

solved the problem.  Perhaps rsync could look for SSH2_CLIENT, as well.

I'm using sh: SSH Secure Shell 3.2.3 (non-commercial version) on sparc-sun-solaris2.6

The ssh docs[1] say I can use .ssh2/environment to set additional environment variables.
I could not get that to work.

[1] http://www.ssh.com/documents/32/ssh2_40.html

Bill Moseley
moseley at hank.org

More information about the rsync mailing list