Hexweb
Verified User
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:
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)
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)