Jump to content

ssh - trying to set up keygen - no directory ?


Recommended Posts

Guest Chup
Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...