Question : Problem: How ssh-keygen generate the key ?

How the ssh-keygen generate the public/private key ?
is it dependent upon IP address, MAC address, hostname or something like this ?

Please explain.

Answer : Problem: How ssh-keygen generate the key ?

ssh-keygen depends on "randomness" to generate a unique private key.  The randomness is generated in various ways depending on the system.
Random Solutions  
 
programming4us programming4us