[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh ip address



Eduardo J. Gargiulo writes:
 > but I need the IP address i'm connecting from in the shell script and
 > the address is assigned dynamically.

echo $SSH_CLIENT, you'll get ip, remote port and local port.

-- 
Davy Gigan
System & Network Administration          [Please no HTML, I'm not a browser]
University Of Caen (France)       [Pas d'HTML, je ne suis pas un navigateur]



Reply to: