Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cyber Security
  3. Question
Cyber Security

RSA vs DSA vs ECDSA - What's the difference?

Asked by Andrea Bailey Apr 5, 2022 1.2K views 1 answer
Share

About this question

 In my /etc/ssh/ directory, I can see three keys which contains three different types of ssh keys:

-rw------- 1 root root    607 Oct  4 22:43 ssh_host_dsa_key

-rw-r--r-- 1 root root    623 Oct  4 22:43 ssh_host_dsa_key.pub

-rw------- 1 root root    241 Oct  4 22:43 ssh_host_ecdsa_key

-rw-r--r-- 1 root root    194 Oct  4 22:43 ssh_host_ecdsa_key.pub

-rw------- 1 root root   1602 Oct  4 22:43 ssh_host_rsa_key

-rw-r--r-- 1 root root    378 Oct  4 22:43 ssh_host_rsa_key.pub

Please explain the difference between them and how to use them.

What are the differences between SSH's RSA, DSA, and ECDSA keys ?

Do I need all three ?

Your answer

1 Answer

More Cyber Security discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.