I want to generate ssh key for github.
I follow their documentation at Generating SSH Keys.
I did all steps extends last:
xclip -sel clip < ~/.ssh/id_rsa.pub
Copies the contents of the id_rsa.pub file to your clipboard
here is my tries:
nazar@nazar-desctop:~/.ssh$ ls -lag
total 16
drwxr-xr-x 2 nazar 4096 Dec 21 16:28 .
drwxr-xr-x 39 nazar 4096 Dec 21 16:17 ..
-rw------- 1 nazar 1766 Dec 21 16:28 ssh-add id_rsa
-rw-r--r-- 1 nazar 404 Dec 21 16:28 ssh-add id_rsa.pub
nazar@nazar-desctop:~/.ssh$ xclip -sel clip < ~/.ssh/id_rsa.pub
bash: /home/nazar/.ssh/id_rsa.pub: No such file or directory
Why does this happen?
- How to solve this trouble?