ssh-copy-id no identities found error

后端 未结 13 1160
情深已故
情深已故 2021-01-31 01:21

I have few client systems where I need to push the ssh key and login from my server without authentication prompts.

First, on the server, I created ssh key as below whi

13条回答
  •  余生分开走
    2021-01-31 01:51

    came up across this one, on an existing account with private key I copied manually from elsewhere. so the error is because the public key is missing

    so simply generate one from private

     ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
    

提交回复
热议问题