get IP address on login

Jay Ashworth jra at
Tue Dec 6 19:31:58 UTC 2011

----- Original Message -----
> From: "Bob Rasmussen" <ras at>

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

-- jra
Jay R. Ashworth                  Baylink                       jra at
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates         2000 Land Rover DII
St Petersburg FL USA             +1 727 647 1274

More information about the NANOG mailing list