- Nov 23, 2014
Thank you for the great detail and screenshots. The troubleshooting stuff looks all OK. No, it shouldn't be necessary to have the same user name on client and server.Glorious1, please see attached for further response and investigation. Long story but it was initially created in Notes, but then wouldn't paste in her properly, hence the pdf. Hope that's ok.
You didn't address the issue of what command you're using that results in the “Permission denied (publickey)” error.
Also, I noticed an '@' after your user folder on the MacBook. This means there are extended attributes, which could affect permissions of the contents. You can see what those are with
ls -l@. You can remove them with
xattr -c <directory or file>.
I don't have such a conflict on the server between permitting sudo (which is a user setting) and disabling password login (an SSH setting). I don't know what either would have to do with a share, whether it SMB or AFP. On the other hand, I've never used SMB.