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 karl@jorgensen.com www.karl.jorgensen.com ==== Today's fortune: The only "intuitive" interface is the nipple. After that, it's all learned. -- Bruce Ediger, bediger@teal.csn.org, on X interfaces
Attachment:
pgpi7JSgfVfu1.pgp
Description: PGP signature