authorized_keys とは?

今理解していること →pubの内容を保存しておく場所

~/.ssh/authorized_keys: Holds a list of authorized public keys for servers. When the client connects to a server, the server authenticates the client by checking its signed public key stored within this file

security.stackexchange.com

上によると、pubの内容を保存しておく場所。クライアントがサーバーに接続した時、authorized_keyを元にして、接続を許可するか判断をする。

f:id:kaz08:20210206085453j:plain