[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh connections fail for regular (non root) users



On Fri, Apr 25, 2003 at 06:39:00PM -0500, Jorge Santos wrote:
> ssh logins to my machine fail with the following errors in the log:
> 
> Apr 25 18:31:43 dep3 sshd[3336]: Accepted publickey for jsf from 132.248.133.214 port 1391 ssh2
> Apr 25 18:31:43 dep3 ssh(pam_unix)[3338]: session opened for user jsf by (uid=1000)
> Apr 25 18:31:43 dep3 pam_limits[3338]: setrlimit limit #6 to soft=-1, hard=-1 failed: Operation not permitted; uid=1000 euid=1000
> Apr 25 18:31:43 dep3 pam_limits[3338]: setrlimit limit #7 to soft=-1, hard=-1 failed: Operation not permitted; uid=1000 euid=1000
> Apr 25 18:31:43 dep3 sshd[3338]: fatal: PAM session setup failed[6]: Permission denied
> 
> 
> See http://bugs.debian.org/159053 for the pam_limits stuff.

The pam_limits errors are mostly cosmetic, and won't be what's causing
your session to fail. I suspect that you have one of the PAM session
modules installed that doesn't like not being run as root.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: