Dan Kotarski
1 min readJan 11, 2017

--

Your command:

“ssh-keygen -t rsa -f /root/.ssh/id_rsa -q -N “”;echo “ssh-rsa nnnnn” > /root/.ssh/authorized_keys;chmod 400 /root/.ssh/authorized_keys”

Generates the error:

-bash: /home/dvicious/.ssh/authorized_keys: Is a directory

--

--