[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
get IP address on login
- Subject: get IP address on login
- From: jra at baylink.com (Jay Ashworth)
- Date: Tue, 6 Dec 2011 14:31:58 -0500 (EST)
- In-reply-to: <[email protected]>
----- Original Message -----
> From: "Bob Rasmussen" <ras at anzio.com>
> > >On my OSR5 test system, I see SSH_CLIENT and SSH_CONNECTION set in
> > >the environment upon login. Does that help?
> These are set by the SSH daemon, only if you're running an SSH
> connection. If you're not, you should be :-)
Well, on a disconnected internal system, telnet's probably ok; there's a
way to get it in telnet as well, but you have to do some guessing.
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com 2000 Land Rover DII
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274