If computer A SSHs computer B, can computer B find the IP of computer A? If so, how?
|
feedback
|
|
SSH connection info is also stored in the You should be able to view this by entering | |||
|
feedback
|
|
Yes. Just run netstat:
Look for the IP using the port 22. | |||||||
feedback
|
|
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/ | |||
feedback
|
|
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. | ||||
|
feedback
|

