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

get IP address on login



----- 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