I am sort of a Unix newbie, trying to set SSH for my 12.04 server.
I have 2 users in my system one has password the other does not, both are set as admins. My object is have the passwordless user able to ssh with and without password (that is what my application needs)
I am doing key-gen and trying to copy the key to the server (Local host) With the user that has password everything seems to work fine - I can SSH without the password prompt after copying the key to the server. But with the passwordless user it fails because I cannot copy the key file over. (Did generate the key file under both users - don't know if that is necessary) Tried PasswordAuthentication no - that did not work, so commented back to default I do have PermitEmptyPasswords yes - but no help.
$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/autorized-keys $ ssh-copy-id -i ~/.ssh/id_rsa.pub user@localhost
asks for password