{"id":14016,"date":"2019-10-16T10:51:17","date_gmt":"2019-10-16T09:51:17","guid":{"rendered":"https:\/\/www.oderland.se\/support\/artikel\/hur-anvander-jag-tvafaktorsautentisering-pa-cpanel\/"},"modified":"2023-07-21T08:48:35","modified_gmt":"2023-07-21T07:48:35","slug":"how-do-i-use-two-factor-authentication-for-cpanel","status":"publish","type":"ht_kb","link":"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-use-two-factor-authentication-for-cpanel\/","title":{"rendered":"How do I use two-factor authentication for cPanel?"},"content":{"rendered":"\n<p>Two-factor authentication (2FA) is something that\u2019s used when you log in somewhere. One example where it can be used is cPanel on our web hosting servers. When activated, you need to enter two different factors. In total, there\u2019s three factors: something you <em>know<\/em> (a password), something you <em>have<\/em> (a physical item, <em>e.g.<\/em> a credit card), and something you <em>are<\/em> (<em>e.g.<\/em> a fingerprint).<\/p>\n\n\n\n<p>Normally, only one factor is used when you log in somewhere, and this is something you <em>know<\/em> (your password). Nowadays, it\u2019s popular to add something you <em>have<\/em> as an additional factor, most commonly an app on your phone that can generate codes. Hence, your phone becomes the second factor (something you <em>have<\/em>). When logging in after activating 2FA, you need your password and a code that your app has generated.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"tvafaktorsautentiseringsappar-for-mobilen\">2FA apps for mobile<\/h2>\n\n\n\n<p>There are several apps that can manage 2FA codes for you, we list a few here:<\/p>\n\n\n\n<p><strong>iOS apps<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/apps.apple.com\/se\/app\/authenticator\/id1538761576\" target=\"_blank\">Authenticator<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/apps.apple.com\/us\/app\/authy\/id494168017\" target=\"_blank\">Authy<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/apps.apple.com\/us\/app\/google-authenticator\/id388497605\" target=\"_blank\">Google Authenticator<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/apps.apple.com\/se\/app\/step-two\/id1448916662?mt=12\" target=\"_blank\">Step Two<\/a><\/p>\n\n\n\n<p><strong>Android apps<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.twofasapp\" target=\"_blank\">2FA Authenticator<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.authy.authy\" target=\"_blank\">Authy<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.apps.authenticator2\" target=\"_blank\">Google Authenticator<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Activate 2FA<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Begin by <a rel=\"noreferrer noopener\" href=\"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-login-to-cpanel\/\" data-type=\"ht_kb\" data-id=\"4236\" target=\"_blank\">logging on to cPanel<\/a>.<\/li>\n\n\n\n<li>Click the icon <code>Two-Factor Authentication<\/code> under <code>Security<\/code>.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication.png\"><img loading=\"lazy\" decoding=\"async\" width=\"718\" height=\"314\" class=\"wp-image-18769\" style=\"width: 718px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication.png\" alt=\"\" srcset=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication.png 718w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication-300x131.png 300w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication-50x22.png 50w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication-60x26.png 60w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication-100x44.png 100w\" sizes=\"auto, (max-width: 718px) 100vw, 718px\" \/><\/a><\/li>\n\n\n\n<li>Now, click the blue <code>Set Up Two-Factor Authentication<\/code> button.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_set_up.png\"><img loading=\"lazy\" decoding=\"async\" width=\"570\" height=\"297\" class=\"wp-image-14023\" style=\"width: 570px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_set_up.png\" alt=\"\"><\/a><\/li>\n\n\n\n<li>Scan the QR code on the screen using your 2FA app (if you don\u2019t have one yet, <a href=\"#2fa-apps-for-mobile\">please refer to the list above<\/a>).<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_qr.png\"><img loading=\"lazy\" decoding=\"async\" width=\"570\" height=\"788\" class=\"wp-image-14026\" style=\"width: 570px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_qr.png\" alt=\"\"><\/a><\/li>\n\n\n\n<li>Scroll down and enter the numbers generated by the app in the field under <code>Security Code<\/code>. Finally, click the blue <code>Configure Two-Factor Authentication<\/code> button.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_enter_code.png\"><img loading=\"lazy\" decoding=\"async\" width=\"493\" height=\"233\" class=\"wp-image-14028\" style=\"width: 493px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_enter_code.png\" alt=\"\"><\/a><\/li>\n\n\n\n<li>You will now get confirmation that 2FA has been activated on your web hosting account.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_activated.png\"><img loading=\"lazy\" decoding=\"async\" width=\"566\" height=\"57\" class=\"wp-image-14031\" style=\"width: 566px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_activated.png\" alt=\"\"><\/a><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Deactivate 2FA<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Begin by <a rel=\"noreferrer noopener\" href=\"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-login-to-cpanel\/\" target=\"_blank\">logging on to cPanel<\/a>.<\/li>\n\n\n\n<li>Click the icon <code>Two-Factor Authentication<\/code> under <code>Security<\/code>.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication.png\"><img loading=\"lazy\" decoding=\"async\" width=\"718\" height=\"314\" class=\"wp-image-18769\" style=\"width: 718px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication.png\" alt=\"\" srcset=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication.png 718w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication-300x131.png 300w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication-50x22.png 50w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication-60x26.png 60w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_two-factor_authentication-100x44.png 100w\" sizes=\"auto, (max-width: 718px) 100vw, 718px\" \/><\/a><\/li>\n\n\n\n<li>Now, click the red <code>Remove Two-Factor Authentication<\/code> button.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_remove.png\"><img loading=\"lazy\" decoding=\"async\" width=\"595\" height=\"278\" class=\"wp-image-14035\" style=\"width: 595px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_remove.png\" alt=\"\"><\/a><\/li>\n\n\n\n<li>Confirm that you wish to remove 2FA by clicking the blue <code>Remove<\/code> button.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_confirm_removal.png\"><img loading=\"lazy\" decoding=\"async\" width=\"537\" height=\"164\" class=\"wp-image-14038\" style=\"width: 537px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_confirm_removal.png\" alt=\"\"><\/a><\/li>\n\n\n\n<li>You will now get confirmation that 2FA has been removed.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_deactivated.png\"><img loading=\"lazy\" decoding=\"async\" width=\"587\" height=\"52\" class=\"wp-image-14041\" style=\"width: 587px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_2fa_deactivated.png\" alt=\"\"><\/a><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">If you\u2019ve lost your 2FA code<\/h2>\n\n\n\n<p>If you\u2019re no longer able to log on to cPanel due to a lost 2FA code (<em>e.g.<\/em> if you\u2019ve got a new phone, uninstalled the 2FA app, etc), you can try to <a href=\"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-login-to-cpanel\/#using-the-client-area\" data-type=\"ht_kb\" target=\"_blank\" rel=\"noreferrer noopener\">access cPanel via our Client area<\/a> and disable 2FA according to the <a href=\"#deactivate-2fa\">instructions above<\/a>.<\/p>\n\n\n\n<p>If this doesn&#8217;t work, <em>e.g.<\/em> if you&#8217;ve lost your 2FA and\/or other credentials for the Client area, we can help you deactivate 2FA.<\/p>\n\n\n\n<p>To begin the process with deactivating 2FA via us, please send a message from the email address registered on the client account where the affected cPanel account resides. Send the email to <a href=\"mailto:support@oderland.se\">support@oderland.se<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">You need to write what cPanel account 2FA should be disabled for (which username it has), and that you need help disabling 2FA.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two-factor authentication (2FA) is something that\u2019s used when you log in somewhere. One example where it can be used is cPanel on our web hosting servers. When activated, you need to enter two different factors. In total, there\u2019s three factors: something you know (a password), something you have (a physical&#8230;<\/p>\n","protected":false},"author":12,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"ht-kb-category":[210],"ht-kb-tag":[],"class_list":["post-14016","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-login-contact-information"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/14016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/comments?post=14016"}],"version-history":[{"count":29,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/14016\/revisions"}],"predecessor-version":[{"id":19435,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/14016\/revisions\/19435"}],"wp:attachment":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/media?parent=14016"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb-category?post=14016"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=14016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}