I followed all the steps and created the /home/dave/.ssh
folder. I then ran:
ssh-keygen -t rsa –P ""
And got: too many arguments
. I tried:
ssh-keygen -t rsa –P
and it jumped back to the prompt.
I then tried:
$ cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
cat: /home/dave/.ssh/id_rsa.pub: No such file or directory
What am I doing wrong?
ls -l /home/dave/.ssh
andls -ld /home/dave/.ssh
. Also, please explain what you are trying to do, what are you trying to set up, exactly? – terdon Mar 28 '21 at 18:09