Keys are of two types in ssh:
Identification key -
1)this key is used to authenticate the username's login when they ssh to a remote host
Key can be generated as both DSA and RSA pair
DSA is limited to 1,024 bits
RSA can be up to 2,048 bits and can be more future proof.
Host key-
1)this key is used to authenticate whether the connection is coming from the intented remote host.1)this key is used to authenticate the username's login when they ssh to a remote host
Key can be generated as both DSA and RSA pair
DSA is limited to 1,024 bits
RSA can be up to 2,048 bits and can be more future proof.