On Tue, Feb 19, 2002 at 05:35:13PM -0300, 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.

$ man ssh

look for SSH_CLIENT
(at least in ssh 1.2.3-9.4)

-- 
Karl E. J�rgensen
[EMAIL PROTECTED]
www.karl.jorgensen.com
==== Today's fortune:
The only "intuitive" interface is the nipple.  After that, it's all learned.
        -- Bruce Ediger, [EMAIL PROTECTED], on X interfaces

Attachment: msg05749/pgp00000.pgp
Description: PGP signature

Reply via email to