{"thread":{"id":"0d66HzSZfDLr","title":"ssh keeps asking for password even though I copied my key","content":"Trying to log in to the school's little server. I used ssh-copy-id, and it said one key added. It still asks me for a password every time.","category":"help","status":"resolved","author":"bea","createdAt":"2026-10-13T11:59:02.234Z","updatedAt":"2026-10-13T13:34:02.234Z","expiresAt":null,"replyCount":2},"replies":[{"id":"Xb1STf7TyQ5F","content":"Nearly always permissions. On the server:\nchmod go-w ~\nchmod 700 ~/.ssh\nchmod 600 ~/.ssh/authorized_keys\n\nsshd ignores the file if your home directory is group-writable. ssh -v on your side will show whether it tried the key at all, and /var/log/auth.log on the server gives the reason.","author":"oldpc","createdAt":"2026-10-13T12:26:02.234Z"},{"id":"LodXnXF_SXoo","content":"It was the home directory, it was group writable. auth.log said \"bad ownership or modes\". Amazing that it just tells you. Thank you","author":"bea","createdAt":"2026-10-13T13:34:02.234Z"}]}