Enable SSH all users

خرید بک لینک

Hello all!

I've been busy with my servers and i want to enable SSH for all users (Cloudlinux + Cagefs).

To do this i've been wanting to enable it for all users in bulk.

for this i've used:

Code:

 files=`find . -name "user.conf"`; for file in $files; do sed -i $file -e "s,ssh=OFF,ssh=ON,g"; done;
Butt after enabling it and restarting directadmin and sshd i still can't login with the user accounts.
Is there another script i need to run to enable users to log in? (Users are not in the AllowUsers list in sshd_config) DirectAdmin Forums...

ما را در سایت DirectAdmin Forums دنبال می‌کنید

برچسب: نویسنده: ایمان اصلاحی بازدید: 293 تاريخ: شنبه 20 خرداد 1396 ساعت: 10:36

صفحه بندی