Comment 3 for bug 2011291

Revision history for this message
James Falcon (falcojr) wrote :

The expected permissions are 600 for private keys and 644 for public keys. This is what it looks like for me on Ubuntu Lunar running 23.1.1:
root@lunar:/etc/ssh# ll ssh_host_*
-rw------- 1 root root 1385 Mar 13 16:20 ssh_host_dsa_key
-rw-r--r-- 1 root root 600 Mar 13 16:20 ssh_host_dsa_key.pub
-rw------- 1 root root 505 Mar 13 16:20 ssh_host_ecdsa_key
-rw-r--r-- 1 root root 172 Mar 13 16:20 ssh_host_ecdsa_key.pub
-rw------- 1 root root 399 Mar 13 16:20 ssh_host_ed25519_key
-rw-r--r-- 1 root root 92 Mar 13 16:20 ssh_host_ed25519_key.pub
-rw------- 1 root root 2590 Mar 13 16:20 ssh_host_rsa_key
-rw-r--r-- 1 root root 564 Mar 13 16:20 ssh_host_rsa_key.pub

Are you saying that 23.1.1 doesn't have these permissions on your platform, or are you expecting different permissions?