Re: ssh generation does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Helio Campos Mello de Andrade wrote:
[...]
scp .ssh/id_rsa <remote_user>@<remote_machine>:~/
ssh <remote_user>@<remote_machine> "cat ~/.id_rsa >> ~/.ssh/authorized_keys"
        # Here i still neeed to use my password but thats right.

I hope this is just a transcription error, but you're copying your private key onto the remote host. You need id_rsa.pub, not id_rsa.

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux