Author Topic: Login ssh for non root user  (Read 3171 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Login ssh for non root user
« 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?

Offline
*****
Re: Login ssh for non root user
« Reply #1 on: July 24, 2021, 08:48:05 AM »
Try to change the open files limit in user configuration.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services