Login ssh for non root user

Started by cazzone, July 22, 2021, 09:16:46 PM

Previous topic - Next topic

cazzone

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?

Igor S.

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