Re: ssh ip address
"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
Re: ssh ip address
"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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]