This can do only one by one. i aready enable ssh for more than 40 accounts. so now i need to disable it. Any option to do it with a single command or notYou do that in the user account settings as a reseller or admin.
Its also possible to disable SSH access on a package bases.
https://www.ipserverone.info/knowle...-ssh-access-to-a-user-account-in-directadmin/ (This will help you find the SSH setting.) (This is NOT my site nor do I have a part in it.)
40 accounts is not a lot, however there is a way.This can do only one by one. i aready enable ssh for more than 40 accounts. so now i need to disable it. Any option to do it with a single command or not
perl -pi -e 's/ssh=ON/ssh=OFF/' /usr/local/directadmin/data/users/*/packages/*.pkg
perl -pi -e 's/ssh=ON/ssh=OFF/' /usr/local/directadmin/data/users/*/domains/*.conf
perl -pi -e 's/ssh=ON/ssh=OFF/' /usr/local/directadmin/data/users/*/user.conf
Is this question now answered? If so could you mark it as solved? Thanks.How to disable ssh access to all users in server.?????
Trying to increase your postcount by asking this to everybody?Is this question now answered? If so could you mark it as solved? Thanks.
No I am not doing this to up my posts. I am doing this since I, at some point have responded in the issue. And want to make sure its resolved and I can unwatchable it.Trying to increase your postcount by asking this to everybody?
It will never be that all users will do this and it will also not be done with old existing posts. So asking this everywhere won't have a big effect except for bumping threads which don't need bumping.
In an effort to up my post count I would like to respond to this post with some comments about something I want to say to you all but I am actually so old I have now forgotten well anyway I hope this stream of conciseness does not lead you to think I am just posting to post.As for the postcount