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.