Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between host based authentication and key based authentication

I did a bit of research on google but was not able to get satisfactory answer. Can anyone please clarify same.

Thanks in advance

like image 224
C Deepak Avatar asked Sep 07 '15 05:09

C Deepak


People also ask

What is host based authentication?

Host-based authentication allows hosts to authenticate on behalf of all or some of that particular host's users. Those accounts can be all of the accounts on a system or a subset designated by the Match directive.

What is key-based authentication?

Key-based authentication, also called cryptographic authentication, is the process of using cryptographic keys in a challenge-response handshake to prove one's identity. This falls in the “something you have” category. Key-based authentication is already deployed widely throughout every enterprise environment.

What is SSH key-based authentication?

Remote connections to a server via Secure Shell (SSH) can be authenticated in two ways. The traditional and default method is to use password authentication. The second approach is key-based authentication, which is based on a private-public key pair.

What is SSH and what forms of authentication are available?

SSH also refers to the suite of utilities that implement the SSH protocol. Secure Shell provides strong password authentication and public key authentication, as well as encrypted data communications between two computers connecting over an open network, such as the internet.


1 Answers

Host based authentication is where the host (or server) is authenticated so some users can just authenticate without the need of a key or whatsoever.

Key base authentication is where you, as a user generate a public and private key from your machine or host. You share your generated public key and then you can authenticate anywhere where a host has your public key (usually to avoid typing passwords).

More info: https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Host-based_Authentication

I hope it helps

like image 153
Ramzendo Avatar answered Oct 22 '22 00:10

Ramzendo