"Eduardo J. Gargiulo" <[EMAIL PROTECTED]> wrote:

> Hi all.
> 
> Is there any way to obtain the IP address of a ssh client and use it on
> a shell script? I want to put a crontab like
> 
> ssh server script

Try running this:

        ssh server printenv

and see what's in there.  For at least some versions of ssh server, the
SSH_CLIENT environment variable will be present.

Scott

Reply via email to