what is dir "known_host" by jazei | tildeverse BBJ

>0 jazei @ 2024/03/05 01:02

Hi. I need to made another pair of keys this time with password. Ok.
then server said permisson denied publickey. 
why?!
in my dir ~/.ssh is dir known hosts, what is this?
thank you and regards

>1 fenris @ 2024/03/06 19:11

>>OP
The .ssh/known_hosts file is a kind of your own certification for hosts.
A host - name or ip address - listed here is considered "trusted" when
you connect to it via ssh.

The first time you connect to a ssh host you will be asked if you trust or not.

The second field contains the algorithm. The third field is the public key,
don't know in which format.

If the third field does not match the answer of the ssh server, you will be 
warned and ask if you trust it anyway. This shall especially omitt a 
man-in-the-middle attack.

>2 jazei @ 2024/03/07 10:59

Thank you, I will try to copy your reply for translate it later.
meanwhile I put the same private key of cellphone on netbook and change the permissons of that file to 600 chmod 600 because i was forced to change it using ssh at netbook Lubuntu OS.
bye>>1

>3 jazei @ 2024/03/07 11:04

I made a screenshot about your reply because I don't know how to copy and paste from server to local.... maybe copy and and then get using sftp.
>>2