Guest User

Erno - SSH without a pass

a guest
Nov 30th, 2016
325
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Hi Kris and Allan,
  2.  
  3. 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.
  4.  
  5.  
  6. 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?
  7.  
  8.  
  9. Here are the folder and file permissions for csatmimer:
  10.  
  11. /storage/.ssh --> drwx------ csatmimer csatmimer
  12.  
  13. /storage/.ssh/authorized_keys --> rw r r csatmimer csatmimer
  14.  
  15.  
  16. Here are the folder and file permissions for tuxmm:
  17.  
  18. /usr/home/tuxmm/.ssh --> drwx rx rx tuxmm tuxmm
  19.  
  20. /usr/home/tuxmm/.ssh/authorized_keys --> rw r r tuxmm tuxmm
  21.  
  22.  
  23. The only difference I see is in the folder's permissions, but that shouldn't be the cause. Right?
  24.  
  25.  
  26. Thanks for the fun, informational, and entertaining show.
  27.  
  28.  
  29. Erno
  30.  
  31. p.s. I changed the /storage/.ssh permissions to drwx rx rx csatmimer csatmimer and I am still prompted for a password.
RAW Paste Data