ssh - trying to set up keygen - no directory ?

  • Thread starter Thread starter Chup
  • Start date Start date
C

Chup

Basically I've run the command :
Code:
scp .ssh/id_rsa.pub tri@192.168.0.11:~/.ssh/authorized_keys2
As per this guide

And I get the message :

Code:
.ssh/id_rsa.pub: No such file or directory
I tried to create the .ssh directory on the server, and re-run the command but it still didn't work.
And I thought that the .ssh directory would have been created automatically by the ssh setup?

I've copied across test files from the desktop and that worked fine, as did a directory but I can't do this key bit for some reason.

I've created the key on the client using :


Code:
ssh-keygen –t rsa
So I have a key, and the little art thing....



Has something gone wrong with the original SSH install or something? I don't understand why I have the directory on the client but not on the server ??

Thanks :)

Continue reading...
 
Back
Top