Erno - SSH without a pass
Nov 30th, 2016
- Hi Kris and Allan,
- I use Linux for my daily driver, but I have set up a FreeBSD 11 server in my basement to collect my backups. On the FreeBSD server I have a zpool that is mounted on /storage. The owner of /storage is the user csatmimer (and this is where csatmimer's home directory points to). I have another user as well, tuxmm with a home directory in /usr/home/tuxmm.
- I have successfully set up the user tuxmm to log in via ssh without a password (copied the id_rsa.pub to the .ssh/authorized_keys), and I have gone through the same steps to allow csatmimer to log in through ssh without a password. The problem is that csatmimer continues to ask me for a password. Any thoughts on why?
- Here are the folder and file permissions for csatmimer:
- /storage/.ssh --> drwx------ csatmimer csatmimer
- /storage/.ssh/authorized_keys --> rw r r csatmimer csatmimer
- Here are the folder and file permissions for tuxmm:
- /usr/home/tuxmm/.ssh --> drwx rx rx tuxmm tuxmm
- /usr/home/tuxmm/.ssh/authorized_keys --> rw r r tuxmm tuxmm
- The only difference I see is in the folder's permissions, but that shouldn't be the cause. Right?
- Thanks for the fun, informational, and entertaining show.
- p.s. I changed the /storage/.ssh permissions to drwx rx rx csatmimer csatmimer and I am still prompted for a password.
Please, Sign In to add comment