Sunday, April 17, 2011

ssh keys

Keys  are of two types in ssh:


Host key- 
1)this key is used to authenticate whether the connection is coming from the intented remote host.


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.