0
I want to know the MAC address of a machine that I don't have access to at the moment. However, I have a known_hosts file from ssh with a valid entry, and given that I get warnings about changing MAC addresses I presume that this address is stored somewhere by ssh. Is there a way to display this saved MAC address?
Note that unless the SSH server is directly on your LAN (no routers between you and it), you will never know the mac address of the server. Since SSH is laregly made for remote access, its unlikely that the service knows or cares about any given MAC address at all, and certianly wouldn't bother to record it, especially as a load balanced server might have multiple legitimate MACs. What SSH does record in known_hosts is the key fingerprint that the service uses to identify itself. – Frank Thomas – 2015-06-11T20:12:55.893