Sometime you want to know your PC’s external IP address. There’re a lot of websites for this purpose. When connecting to pubnix via ssh, you can have it report your ssh client’s IP address
$ ssh -t sdf 'who -m'
example_user pts/3 Jan 26 00:02 (222.222.22.22)
who -m
reports the user on the current TTY.ssh -t
forces the allocation of a TTY.