Check existing SSH Key on server
Im running centos 7 on my server, and I run command:
[root@srvr ~]# ls -al ~/.ssh
and get this result:
drwx—— 2 root root 4096 Feb 24 14:36 .
dr-xr-x—. 13 root root 4096 Mar 2 03:46 ..
-rw——- 1 root root 418 Mar 1 13:50 authorized_keys
Can someone explain what is the command function and the result mean?
The result show total 12, I wonder, is my server had 12 SSH key?
Because I only insert 1 ssh key from my laptop.
Thank u all..
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×