{"id":797,"date":"2024-10-07T03:22:44","date_gmt":"2024-10-06T21:52:44","guid":{"rendered":"https:\/\/vpswebhostingindia.com\/blog\/?p=797"},"modified":"2024-10-07T03:23:24","modified_gmt":"2024-10-06T21:53:24","slug":"ssh-access-for-users-in-directadmin","status":"publish","type":"post","link":"https:\/\/vpswebhostingindia.com\/blog\/ssh-access-for-users-in-directadmin\/","title":{"rendered":"Enabling SSH Access for Users in DirectAdmin: Step-by-Step Guide"},"content":{"rendered":"\n<p>Enabling SSH Access for Users in DirectAdmin, In <a href=\"https:\/\/www.vpswebhostingindia.com\/vps-hosting\/\">web hosting<\/a> environments, <strong>SSH (Secure Shell)<\/strong> access provides a secure way for users to remotely manage their servers through the command line. <strong>DirectAdmin<\/strong>, a <a href=\"https:\/\/www.squarebrothers.com\/web-hosting-india\/\" rel=\"nofollow noopener\" target=\"_blank\">popular web hosting<\/a> control panel, allows administrators and resellers to grant SSH access to specific users, enabling them to perform tasks such as file management, system updates, and other administrative duties. However, for security reasons, SSH access is not always enabled by default for every user. This guide provides a clear step-by-step process on how to enable SSH access for a user in DirectAdmin, ensuring both functionality and security.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>To enable SSH access for a user in <strong>DirectAdmin<\/strong>, follow these steps:<\/h2><nav><ul><li class=\"\"><a href=\"#1-log-in-to-direct-admin-as-admin-or-reseller\">1. Log in to DirectAdmin as Admin or Reseller<\/a><\/li><li class=\"\"><a href=\"#2-navigate-to-reseller-level\">2. Navigate to Reseller Level<\/a><\/li><li class=\"\"><a href=\"#3-manage-user-accounts\">3. Manage User Accounts<\/a><\/li><li class=\"\"><a href=\"#4-modify-the-user-package\">4. Enabling SSH Access for Users in DirectAdmin<\/a><\/li><li class=\"\"><a href=\"#5-change-user-settings\">5. Change User Settings<\/a><\/li><li class=\"\"><a href=\"#7-save-changes\">6. Save Changes<\/a><\/li><li class=\"\"><a href=\"#8-test-ssh-access\">7. Test SSH Access<\/a><\/li><li class=\"\"><a href=\"#optional-update-firewall\">Optional: Update Firewall<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-log-in-to-direct-admin-as-admin-or-reseller\">1. <strong>Log in to DirectAdmin as Admin or Reseller<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Access your DirectAdmin control panel for Enabling SSH Access for Users in DirectAdmin<\/li>\n\n\n\n<li>Use your <strong>Admin<\/strong> or <strong>Reseller<\/strong> credentials to log in.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"771\" height=\"582\" src=\"http:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/08\/image.png\" alt=\"\" class=\"wp-image-710\" srcset=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/08\/image.png 771w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/08\/image-265x200.png 265w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/08\/image-768x580.png 768w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-navigate-to-reseller-level\">2. <strong>Navigate to Reseller Level<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If logged in as Admin, switch to <strong>Reseller Level<\/strong> by clicking on the <strong>Reseller Level<\/strong> link in the menu.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-manage-user-accounts\">3. <strong>Manage User Accounts<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"151\" src=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_list_users-1024x151.png\" alt=\"\" class=\"wp-image-798\" srcset=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_list_users-1024x151.png 1024w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_list_users-300x44.png 300w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_list_users-768x113.png 768w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_list_users.png 1214w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Under the <strong>Account Manager<\/strong> section, click on <strong>List Users<\/strong> or <strong>User Level<\/strong> depending on your navigation structure.<\/li>\n\n\n\n<li>Select the user account for which you want to enable SSH access.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"196\" src=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_list_user_sel-1024x196.png\" alt=\"\" class=\"wp-image-799\" srcset=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_list_user_sel-1024x196.png 1024w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_list_user_sel-300x57.png 300w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_list_user_sel-768x147.png 768w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_list_user_sel-1536x294.png 1536w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_list_user_sel.png 1589w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-modify-the-user-package\">4. <strong>Enabling SSH Access for Users in DirectAdmin<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If SSH access is disabled in the user\u2019s package, you need to update the package.<\/li>\n\n\n\n<li>Go to <strong>Manage User Packages<\/strong> (found under <strong>Account Manager<\/strong>).<\/li>\n\n\n\n<li>Edit the package that the user is assigned to, or create a new package.<\/li>\n\n\n\n<li>Look for the <strong>SSH Access<\/strong> option and make sure it is checked (enabled).<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"263\" src=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_user_ssh_access-1024x263.png\" alt=\"Enabling SSH Access for Users in DirectAdmin\" class=\"wp-image-800\" srcset=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_user_ssh_access-1024x263.png 1024w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_user_ssh_access-300x77.png 300w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_user_ssh_access-768x197.png 768w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/10\/da_user_ssh_access.png 1204w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-change-user-settings\">5. <strong>Change User Settings<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Alternatively, to grant SSH for individual users, you can go to <strong>User Level<\/strong>.<\/li>\n\n\n\n<li>Click on <strong>Modify User<\/strong> next to the specific user.<\/li>\n\n\n\n<li>In the modification settings, enable <strong>SSH Access<\/strong>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"7-save-changes\">6. <strong>Save Changes<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After enabling SSH access and setting the shell type, save the changes.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"8-test-ssh-access\">7. <strong>Test SSH Access<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Provide the user with their <strong>SSH credentials<\/strong> (server IP, username, and password).<\/li>\n\n\n\n<li>The user can now log in via SSH using a terminal or an SSH client like <strong>PuTTY<\/strong>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"optional-update-firewall\">Optional: Update Firewall<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure your server firewall allows SSH connections on port 22 (or your custom SSH port).<\/li>\n\n\n\n<li>Configure the firewall settings in <strong>DirectAdmin<\/strong> if necessary.<\/li>\n<\/ul>\n\n\n\n<p>By following these steps, SSH access will be successfully enabled for the user in DirectAdmin.<\/p>\n\n\n\n<p>When Enabling SSH Access for Users in DirectAdmin, it is important to take certain precautions to maintain security and prevent unauthorized access:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Use Strong Passwords:<br>Ensure that users have strong, unique passwords for their accounts. Weak passwords are a common vulnerability that hackers exploit to gain access via SSH.<\/li>\n\n\n\n<li>Enable Two-Factor Authentication (2FA):<br>Consider enabling 2FA for SSH access to add an additional layer of security. This requires users to provide a second form of verification (such as a code from a mobile app) before logging in.<\/li>\n\n\n\n<li>Restrict SSH Access to Trusted Users:<br>Limit SSH access to only those users who genuinely need it. Avoid granting SSH privileges to standard users who do not require command-line access.<\/li>\n\n\n\n<li>Use Jailed Shell:<br>Enabling SSH Access for Users in DirectAdmin, assign Jailed Shell instead of full shell access to limit users&#8217; access to critical directories and system resources, reducing the risk of accidental or malicious changes.<\/li>\n\n\n\n<li>Change the Default SSH Port:<br>Changing the default SSH port from 22 to a non-standard port can help reduce the risk of brute-force attacks.<\/li>\n\n\n\n<li>Regular Monitoring:<br>Monitor SSH logs regularly to detect any suspicious login attempts or unauthorized activities.<\/li>\n<\/ol>\n\n\n\n<p>By following these precautions, you can enhance the security of your server while Enabling SSH Access for Users in DirectAdmin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enabling SSH Access for Users in DirectAdmin, In web hosting environments, SSH (Secure Shell) access provides a secure way for users to remotely manage their servers through the command line. DirectAdmin, a popular web hosting control panel, allows administrators and resellers to grant SSH access to specific users, enabling them to perform tasks such as [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":802,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[51],"class_list":["post-797","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-direct-admin","tag-enabling-ssh-access-for-users-in-directadmin"],"_links":{"self":[{"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/posts\/797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/comments?post=797"}],"version-history":[{"count":2,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/posts\/797\/revisions"}],"predecessor-version":[{"id":803,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/posts\/797\/revisions\/803"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/media\/802"}],"wp:attachment":[{"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/media?parent=797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/categories?post=797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/tags?post=797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}