If computer A SSHs computer B, can computer B find the IP of computer A? If so, how?
|
SSH connection info is also stored in the You should be able to view this by entering |
|||
|
|
|
Yes. Just run netstat:
Look for the IP using the port 22. |
|||||||
|
|
Yes, and here is how in Windows: The
I am not a Linux guru, but it is very similar, and the actual base command is the same, I believe: http://www.thegeekstuff.com/2010/03/netstat-command-examples/ |
|||
|
|
For SSH on a specific interface, you can also use
This will work for linux and mac and if you have a tcpdump port for windows, it will work the same way. |
||||
|
|
|
this is what you want, in a terminal:
it gives you the names (if available of computers sshin into your computer), if you speficically want their IP address, maybe you want to |
|||
|
|
