SSL problem and SSH issue

ighost

Verified User
Joined
May 20, 2013
Messages
20
Hello,

I've 2 problems with my DirectAdmin instalation. The 1st is that when I create a user, it gets access to SSH, and that's not really the problem, the problem is that it can decent into the system via that SSH account, how can I disable that?

My 2nd problem is a problem with SSL. I've successfully installed my SSL certificate, but when I go to my domain (eghosting.net:2222) it automaticly redirects my to https://108.174.61.98:2222/ and the certificate doesn't works. That's not strange because the certificate is for eghosting.net, and not for the IP address. I need DirectAdmin to redirect eghosting.net:2222 to https://eghosting.net:2222 instead of that IP address, and I can't find it anywhere in the config.

Please help me with these 2 issues.
 
Regarding your 2nd problem: Please read: http://www.directadmin.com/features.php?id=801

Edit the file at: /usr/local/directadmin/conf/directadmin.conf and add this line (change your.hostname.com to your actual server hostname):
Code:
ssl_redirect_host=your.hostname.com

Then restart DirectAdmin:
Code:
service directadmin restart
 
Thanks for your help, it worked! Anyone has any idea what to do to fix the 1st one?
 
My first problem is that when I create a user in DA, that it automaticly creates an SSH user that can decent from it's own folder, in the machine, using 'cd'.

I want to block the creation of SSH users with webhosting users on DA, or I want to make them unable to decent into the machine.
 
Back
Top