How to add extra keys in authority_keys

stefws

Renowned Member
Jan 29, 2015
302
4
83
Denmark
siimnet.dk
Want to add a few extra keys but how to overcome this:

root@n1:~# ls -l /etc/pve/priv/authorized_keys
-rw------- 1 root www-data 2724 Sep 4 12:38 /etc/pve/priv/authorized_keys
root@n1:~# chmod u+w /etc/pve/priv/authorized_keys
chmod: changing permissions of â: Function not implemented
 
As root you can write them, why making a chmod?

Open it, for example with nano, and it works.

btw. /root/.ssh/authorized_keys is symlinked to /etc/pve/priv/authorized_keys so you could also write in that one
 
Last edited: