I am trying to use this simple guide to copy the keys
but it looks like that I am doing something wrong so even when I do the copy of the key I keep being asked for a password when I am connecting to the remote server.
I guess the easier would be to help me "start from scratch" as I might be having mixed a bit the files.
If that helps I give a bit of command line history, but as said it would be easier if I start from scratch, rather than trying to fix things
(have to edit a bit the history output to hide some stuff)
host:/home/user # ssh-copy-id -i id_rsa.pub user@remoteHost
/usr/bin/ssh-copy-id: ERROR: No identities found
host:/home/user # cd /root/.s
.skel/ .ssh/ .subversion/
host:/home/user # cd /root/.ssh/
host:~/.ssh # ls
id_rsa.pub known_hosts known_hosts.old
host:~/.ssh # ssh-copy-id -i id_rsa.pub user@remoteHost
Now try logging into the machine, with "ssh 'user@remoteHost'", and check in:
to make sure we haven't added extra keys that you weren't expecting.
host:~/.ssh # ssh user@remoteHost
Password: HERE IS THE PART THAT I STILL NEED TO GIVE PASSWORD
Last login: Wed Mar 27 19:56:33 2013 from remoteHostPartHidden
Have a lot of fun...