15Şub
SSH: Do the public and private keys contain the ip address?
Question
- Do the public and private keys contain the ip address?
Scenario
Suppose "Computer I" as client has a IP as 192.168.1.A and is generated for SSH purposes its respective pair of keys:
- The public key
- The private key
Thus is possible do a SSH connection to "Computer II" as server where it has a IP as 192.168.1.T (T as target). Therefore as follows:
Computer I Computer II
192.168.1.A ---> SSH ---> 192.168.1.T
So if later is applied a policy for the LAN itself where "Computer I" as client having the mentioned IP as 192.168.1.A is changed to 192.168.1.Z.
- Is mandatory re-generate the pair of keys?
It to know if is mandatory to do the respective update in the "Computer II" as server by removing the old public key and put the new public key of the "Computer I" as client
Observation
It is not about the client's hostname it is about the ip