I'm trying to use this command to allow me passwordless login to a FreeNAS box:
cat ~/.ssh/id_rsa.pub | ssh root@server.com 'cat >> ~/.ssh/authorized_keys'
But I get:
/root/.ssh/authorized_keys: Read-only file system.
If I log in to box as root, then ls ~/.ssh I see
drwx------ 2 root wheel 512 Aug 22 18:34 ./
drwxr-xr-x 3 root wheel 512 Sep 1 19:16 ../
-rw-r--r-- 1 root wheel 806 Aug 22 18:39 authorized_keys
-rw------- 1 root wheel 1675 Aug 18 21:50 id_rsa
-rw-r--r-- 1 root wheel 400 Aug 22 18:34 known_hosts
And if I ls ~ I see
drwx------ 2 root wheel 512 Aug 22 18:34 .ssh/
What am I missing? Why can't I add an entry to known_hosts?
mtdblockdevice)? – Celada Feb 6 at 2:01