Re: ssh ip address
Try just doing an `echo $SSH_CLIENT`. Depending on your version, you may
need split the output up a bit...
"Eduardo J. Gargiulo" 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
> but I need the IP address i'm connecting from in the shell script and
> the address is assigned dynamically.
ETN Systems Inc.