cmd

IP data of an ssh connection

$ echo $SSH_CLIENT
172.26.0.10 50849 22 192.168.1.254

Shows the IP data of the ssh connection this tty is linked to.

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*Required Fields