Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: cazzone on July 22, 2021, 09:16:46 PM

Title: Login ssh for non root user
Post by: cazzone on July 22, 2021, 09:16:46 PM
I have enable SSH login and Shell Access, after login with SSH the client close the window, i have this log from CWP

Jul 22 22:44:38 mysvr sshd[25780]: Accepted password for *** from *** port *** ssh2
Jul 22 22:44:38 mysvr sshd[25780]: pam_limits(sshd:session): Could not set limit for 'nofile': Operation not permitted
Jul 22 22:44:38 mysvr sshd[25780]: pam_unix(sshd:session): session opened for user **** by (uid=0)
Jul 22 22:44:38 mysvr sshd[25780]: error: PAM: pam_open_session(): Permission denied

Only root user work with ssh, why?
Title: Re: Login ssh for non root user
Post by: Igor S. on July 24, 2021, 08:48:05 AM
Try to change the open files limit in user configuration.