{"id":21653,"date":"2025-11-26T15:00:00","date_gmt":"2025-11-26T11:30:00","guid":{"rendered":"https:\/\/webdade.com\/blog\/?p=21653"},"modified":"2025-11-26T10:10:42","modified_gmt":"2025-11-26T06:40:42","slug":"two-factor-authentication-ssh-linux-server","status":"publish","type":"post","link":"https:\/\/webdade.com\/blog\/two-factor-authentication-ssh-linux-server","title":{"rendered":"\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc (2FA) \u0628\u0631\u0627\u06cc SSH \u062f\u0631 \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633"},"content":{"rendered":"\n<div id=\"gspb_text-id-gsbp-65d0520\" class=\"gspb_text gspb_text-id-gsbp-65d0520 \">\u062d\u0645\u0644\u0627\u062a \u0633\u0627\u06cc\u0628\u0631\u06cc \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u062f\u0631 \u0633\u0627\u0644\u200c\u0647\u0627\u06cc \u0627\u062e\u06cc\u0631 \u0628\u0647\u200c\u0637\u0648\u0631 \u0686\u0634\u0645\u06af\u06cc\u0631\u06cc \u0627\u0641\u0632\u0627\u06cc\u0634 \u06cc\u0627\u0641\u062a\u0647 \u0627\u0633\u062a. \u0622\u0645\u0627\u0631\u0647\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u06a9\u0647 \u0647\u0631 \u0631\u0648\u0632 \u0645\u06cc\u0644\u06cc\u0648\u0646\u200c\u0647\u0627 \u062a\u0644\u0627\u0634 \u0628\u0631\u0648\u062a \u0641\u0648\u0631\u0633 \u0628\u0631\u0627\u06cc \u0646\u0641\u0648\u0630 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc SSH \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0624\u062b\u0631\u062a\u0631\u06cc\u0646 \u0631\u0627\u0647\u200c\u062d\u0644\u200c\u0647\u0627 \u0628\u0631\u0627\u06cc \u0645\u0642\u0627\u0628\u0644\u0647 \u0628\u0627 \u0627\u06cc\u0646 \u062a\u0647\u062f\u06cc\u062f\u0627\u062a \u0627\u0633\u062a. \u0628\u0627 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc 2FA \u0628\u0631\u0627\u06cc SSH\u060c \u062d\u062a\u06cc \u0627\u06af\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0634\u0645\u0627 \u0628\u0647 \u0633\u0631\u0642\u062a \u0628\u0631\u0648\u062f\u060c \u0647\u06a9\u0631\u0647\u0627 \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0647 \u0633\u0631\u0648\u0631 \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u0646\u062f \u0632\u06cc\u0631\u0627 \u0628\u0647 \u06a9\u062f \u06cc\u06a9\u200c\u0628\u0627\u0631 \u0645\u0635\u0631\u0641\u06cc \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u0646\u062f \u06a9\u0647 \u0641\u0642\u0637 \u062f\u0631 \u062f\u0633\u062a\u06af\u0627\u0647 \u0634\u0645\u0627 \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u0634\u0648\u062f.<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-ece0ea6\" id=\"gspb_container-id-gsbp-ece0ea6\">\n<div id=\"gspb_text-id-gsbp-67df801\" class=\"gspb_text gspb_text-id-gsbp-67df801 \"><strong>\ud83d\udca1 \u062d\u0645\u0644\u0647 \u0628\u0631\u0648\u062a \u0641\u0648\u0631\u0633 \u0686\u06cc\u0633\u062a \u0648 \u0686\u06af\u0648\u0646\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u061f<br><\/strong>\u0642\u0628\u0644 \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0628\u0641\u0647\u0645\u06cc\u0645 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0686\u0637\u0648\u0631 \u0627\u0632 \u0633\u0631\u0648\u0631 \u0645\u0627 \u0645\u062d\u0627\u0641\u0638\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0628\u062f\u0627\u0646\u06cc\u0645 <strong>\u062d\u0645\u0644\u0647 \u0628\u0631\u0648\u062a \u0641\u0648\u0631\u0633<\/strong> (Brute Force Attack) \u0686\u06cc\u0633\u062a.<br>\u062a\u0635\u0648\u0631 \u06a9\u0646\u06cc\u062f \u06cc\u06a9 \u062f\u0632\u062f \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u062f \u062f\u0631 \u062e\u0627\u0646\u0647 \u0634\u0645\u0627 \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u062f. \u0627\u0648 \u062a\u0645\u0627\u0645 \u06a9\u0644\u06cc\u062f\u0647\u0627\u06cc \u0645\u0645\u06a9\u0646 \u0631\u0627 \u06cc\u06a9\u06cc \u06cc\u06a9\u06cc \u0627\u0645\u062a\u062d\u0627\u0646 \u0645\u06cc\u200c\u06a9\u0646\u062f \u062a\u0627 \u0642\u0641\u0644 \u0628\u0627\u0632 \u0634\u0648\u062f. \u062d\u0645\u0644\u0647 \u0628\u0631\u0648\u062a \u0641\u0648\u0631\u0633 \u062f\u0642\u06cc\u0642\u0627\u064b \u0647\u0645\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0627 \u0631\u0645\u0632\u0647\u0627\u06cc \u0639\u0628\u0648\u0631 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u062f.<br><strong>\u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647:<\/strong> \u0647\u06a9\u0631\u0647\u0627 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc\u06cc \u062f\u0627\u0631\u0646\u062f \u06a9\u0647 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0647\u0632\u0627\u0631\u0627\u0646 \u06cc\u0627 \u062d\u062a\u06cc \u0645\u06cc\u0644\u06cc\u0648\u0646\u200c\u0647\u0627 \u062a\u0631\u06a9\u06cc\u0628 \u0645\u062e\u062a\u0644\u0641 \u0627\u0632 \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0648 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u0627 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0627\u0645\u062a\u062d\u0627\u0646 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. \u0627\u06cc\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627 \u0634\u0628\u0627\u0646\u0647\u200c\u0631\u0648\u0632 \u0648 \u0628\u062f\u0648\u0646 \u062e\u0633\u062a\u06af\u06cc \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u062a\u0627 \u0628\u0627\u0644\u0627\u062e\u0631\u0647 \u062a\u0631\u06a9\u06cc\u0628 \u062f\u0631\u0633\u062a\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u0646\u062f.<\/div>\n<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-3db8947\" class=\"gspb_text gspb_text-id-gsbp-3db8947 \"><strong>\ud83d\udca1 \u0627\u0632 \u0686\u0647 \u062a\u0647\u062f\u06cc\u062f\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f\u061f<\/strong><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li> \ud83d\udd28 \u062d\u0645\u0644\u0627\u062a \u0628\u0631\u0648\u062a \u0641\u0648\u0631\u0633 (Brute Force Attacks) <\/li>\n\n\n\n<li>\ud83d\udd75\ufe0f \u0633\u0631\u0642\u062a \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 (Password Theft) <\/li>\n\n\n\n<li>\ud83d\udcda \u062d\u0645\u0644\u0627\u062a Dictionary Attack <\/li>\n\n\n\n<li>\ud83d\udc64\u062f\u0633\u062a\u0631\u0633\u06cc \u063a\u06cc\u0631\u0645\u062c\u0627\u0632 \u0628\u0639\u062f \u0627\u0632 \u062a\u0631\u06a9 \u06a9\u0627\u0631 \u06a9\u0627\u0631\u0645\u0646\u062f<\/li>\n\n\n\n<li> <strong>\ud83c\udfad<\/strong> \u062d\u0645\u0644\u0627\u062a Man-in-the-Middle \u0633\u0627\u062f\u0647<\/li>\n\n\n\n<li>\ud83d\udd04 redential Stuffing (\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u062c\u062f\u062f \u0627\u0632 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0646\u0634\u062a \u0634\u062f\u0647)<\/li>\n\n\n\n<li><strong>\ud83e\udd16<\/strong> \u062d\u0645\u0644\u0627\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0648 \u0631\u0628\u0627\u062a\u200c\u0647\u0627 (Automated Attacks) <\/li>\n\n\n\n<li><strong>\u2699\ufe0f<\/strong> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0639\u062a\u0628\u0627\u0631\u0646\u0627\u0645\u0647 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 (Default Credentials)<\/li>\n\n\n\n<li><strong>\ud83d\udde3\ufe0f<\/strong> \u062d\u0645\u0644\u0627\u062a Social Engineering (\u0645\u0647\u0646\u062f\u0633\u06cc \u0627\u062c\u062a\u0645\u0627\u0639\u06cc) <\/li>\n\n\n\n<li><strong>\ud83d\udd17<\/strong>  Session Hijacking \u0645\u062d\u062f\u0648\u062f<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-bf6418d\" class=\"gspb_text gspb_text-id-gsbp-bf6418d \">\u062f\u0631 \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u062c\u0627\u0645\u0639 \u0627\u0632 \u0628\u0644\u0627\u06af \u0648\u0628\u200c\u062f\u0627\u062f\u0647\u060c \u0634\u0645\u0627 \u06cc\u0627\u062f \u062e\u0648\u0627\u0647\u06cc\u062f \u06af\u0631\u0641\u062a \u0686\u06af\u0648\u0646\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u06cc \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f PAM \u0648 \u0627\u0628\u0632\u0627\u0631 Google Authenticator\u060c \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0686\u0646\u062f\u0644\u0627\u06cc\u0647 \u0628\u0631\u0627\u06cc \u067e\u0631\u0648\u062a\u06a9\u0644 SSH \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u0631\u0627\u06cc \u062a\u0645\u0627\u0645 \u0633\u0637\u0648\u062d \u0627\u0632 \u0645\u0628\u062a\u062f\u06cc \u062a\u0627 \u062d\u0631\u0641\u0647\u200c\u0627\u06cc \u0637\u0631\u0627\u062d\u06cc \u0634\u062f\u0647 \u0648 \u062a\u0645\u0627\u0645 \u062c\u0632\u0626\u06cc\u0627\u062a \u0641\u0646\u06cc\u060c \u0646\u06a9\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u0648 \u0631\u0627\u0647\u200c\u062d\u0644\u200c\u0647\u0627\u06cc \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0627\u0636\u0637\u0631\u0627\u0631\u06cc \u0631\u0627 \u067e\u0648\u0634\u0634 \u0645\u06cc\u200c\u062f\u0647\u062f.<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-3090342\" id=\"gspb_container-id-gsbp-3090342\">\n<p id=\"gspb_heading-id-gsbp-4f2eab8\" class=\"gspb_heading gspb_heading-id-gsbp-4f2eab8 \"><strong>\u0622\u0646\u0686\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0646\u06cc\u062f:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-greenshift-blocks-toc gs-toc gspb_toc-id-gsbp-9ed45ff\" id=\"gspb_toc-id-gsbp-9ed45ff\" data-offset=\"100\" itemscope itemtype=\"\"><div class=\"gs-autolist\"><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062f\u0631\u06a9 \u0645\u0641\u0647\u0648\u0645 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0648 \u0646\u0642\u0634 \u0622\u0646 \u062f\u0631 \u0627\u0645\u0646\u06cc\u062a SSH\"\/><a class=\"gs-scrollto\" href=\"#understanding-two-factor-authentication-ssh-security\">\u062f\u0631\u06a9 \u0645\u0641\u0647\u0648\u0645 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0648 \u0646\u0642\u0634 \u0622\u0646 \u062f\u0631 \u0627\u0645\u0646\u06cc\u062a SSH<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">1.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0686\u06cc\u0633\u062a\u061f\"\/><a class=\"gs-scrollto\" href=\"#what-is-two-factor-authentication\">\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0686\u06cc\u0633\u062a\u061f<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">1.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0686\u0631\u0627 SSH \u0646\u06cc\u0627\u0632 \u0628\u0647 \u062d\u0641\u0627\u0638\u062a \u0628\u06cc\u0634\u062a\u0631\u06cc \u062f\u0627\u0631\u062f\u061f\"\/><a class=\"gs-scrollto\" href=\"#why-ssh-needs-more-protection\">\u0686\u0631\u0627 SSH \u0646\u06cc\u0627\u0632 \u0628\u0647 \u062d\u0641\u0627\u0638\u062a \u0628\u06cc\u0634\u062a\u0631\u06cc \u062f\u0627\u0631\u062f\u061f<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">1.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0645\u0642\u0627\u06cc\u0633\u0647 \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u0645\u0646\u06cc\u062a SSH\"\/><a class=\"gs-scrollto\" href=\"#compare-different-ssh-security-methods\">\u0645\u0642\u0627\u06cc\u0633\u0647 \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u0645\u0646\u06cc\u062a SSH<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0646\u0635\u0628 \u0648 \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0628\u0631\u0627\u06cc 2FA\"\/><a class=\"gs-scrollto\" href=\"#install-setup-system-two-factor-authentication\">\u0646\u0635\u0628 \u0648 \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0628\u0631\u0627\u06cc 2FA<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">2.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062f\u0631\u06a9 \u0645\u0627\u0698\u0648\u0644 PAM \u0648 \u0646\u0642\u0634 \u0622\u0646\"\/><a class=\"gs-scrollto\" href=\"#understanding-pam-module-its-role\">\u062f\u0631\u06a9 \u0645\u0627\u0698\u0648\u0644 PAM \u0648 \u0646\u0642\u0634 \u0622\u0646<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">2.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0646\u0635\u0628 \u0645\u0627\u0698\u0648\u0644 Google Authenticator \u062f\u0631 Ubuntu\/Debian\"\/><a class=\"gs-scrollto\" href=\"#install-google-authenticator-ubuntu-debian\">\u0646\u0635\u0628 \u0645\u0627\u0698\u0648\u0644 Google Authenticator \u062f\u0631 Ubuntu\/Debian<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">2.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0646\u0635\u0628 \u062f\u0631 CentOS\/RHEL\/AlmaLinux\"\/><a class=\"gs-scrollto\" href=\"#install-centos-rhel-almalinux\">\u0646\u0635\u0628 \u062f\u0631 CentOS\/RHEL\/AlmaLinux<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">2.4<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0628\u0631\u0631\u0633\u06cc \u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627 \u0648 \u0648\u0636\u0639\u06cc\u062a \u0633\u0631\u0648\u06cc\u0633 SSH\"\/><a class=\"gs-scrollto\" href=\"#check-prerequisites-ssh-service-status\">\u0628\u0631\u0631\u0633\u06cc \u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627 \u0648 \u0648\u0636\u0639\u06cc\u062a \u0633\u0631\u0648\u06cc\u0633 SSH<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0645\u0627\u0698\u0648\u0644 PAM \u0628\u0631\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc (2FA SSH)\"\/><a class=\"gs-scrollto\" href=\"#configure-pam-module-two-factor-authentication\">\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0645\u0627\u0698\u0648\u0644 PAM \u0628\u0631\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc (2FA SSH)<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc PAM \u0628\u0631\u0627\u06cc SSH\"\/><a class=\"gs-scrollto\" href=\"#edit-pam-configuration-file-ssh\">\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc PAM \u0628\u0631\u0627\u06cc SSH<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062f\u0631\u06a9 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0645\u0627\u0698\u0648\u0644 PAM\"\/><a class=\"gs-scrollto\" href=\"#understanding-different-pam-module-parameters\">\u062f\u0631\u06a9 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0645\u0627\u0698\u0648\u0644 PAM<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636\"\/><a class=\"gs-scrollto\" href=\"#disable-default-authentication-optional\">\u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">4<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0633\u0631\u0648\u06cc\u0633 SSH \u0628\u0631\u0627\u06cc 2FA SSH\"\/><a class=\"gs-scrollto\" href=\"#configure-ssh-service-support-two-factor\">\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0633\u0631\u0648\u06cc\u0633 SSH \u0628\u0631\u0627\u06cc 2FA SSH<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 sshd_config\"\/><a class=\"gs-scrollto\" href=\"#edit-sshd-config-file\">\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 sshd_config<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0636\u0631\u0648\u0631\u06cc \u0628\u0631\u0627\u06cc \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0627\u0645\u0646\u06cc\u062a SSH\"\/><a class=\"gs-scrollto\" href=\"#essential-settings-enable-ssh-security\">\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0636\u0631\u0648\u0631\u06cc \u0628\u0631\u0627\u06cc \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0627\u0645\u0646\u06cc\u062a SSH<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0633\u0646\u0627\u0631\u06cc\u0648\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\"\/><a class=\"gs-scrollto\" href=\"#different-configuration-scenarios\">\u0633\u0646\u0627\u0631\u06cc\u0648\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.4<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0627\u0639\u0645\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0648 \u062a\u0633\u062a \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\"\/><a class=\"gs-scrollto\" href=\"#apply-changes-test-configuration\">\u0627\u0639\u0645\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0648 \u062a\u0633\u062a \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">5<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc 2FA \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0633\u06cc\u0633\u062a\u0645\"\/><a class=\"gs-scrollto\" href=\"#setup-two-factor-authentication-system-users\">\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc 2FA \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0633\u06cc\u0633\u062a\u0645<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">5.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 google-authenticator\"\/><a class=\"gs-scrollto\" href=\"#run-google-authenticator-command\">\u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 google-authenticator<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">5.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0627\u0633\u06a9\u0646 \u06a9\u062f QR \u0648 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc\"\/><a class=\"gs-scrollto\" href=\"#scan-qr-code-save-security-information\">\u0627\u0633\u06a9\u0646 \u06a9\u062f QR \u0648 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">5.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0645\u06a9\u0627\u0646 \u0630\u062e\u06cc\u0631\u0647\u200c\u0633\u0627\u0632\u06cc \u0641\u0627\u06cc\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a\"\/><a class=\"gs-scrollto\" href=\"#settings-file-storage-location\">\u0645\u06a9\u0627\u0646 \u0630\u062e\u06cc\u0631\u0647\u200c\u0633\u0627\u0632\u06cc \u0641\u0627\u06cc\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">6<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062a\u0633\u062a \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0639\u0645\u0644\u06a9\u0631\u062f 2FA\"\/><a class=\"gs-scrollto\" href=\"#test-validate-two-factor-authentication-functionality\">\u062a\u0633\u062a \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0639\u0645\u0644\u06a9\u0631\u062f 2FA<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">6.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0648\u0631\u0648\u062f \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u0627\u0632 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u062f\u06cc\u06af\u0631\"\/><a class=\"gs-scrollto\" href=\"#test-login-from-another-terminal\">\u0648\u0631\u0648\u062f \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u0627\u0632 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u062f\u06cc\u06af\u0631<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">6.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062a\u0633\u062a \u0628\u0627 \u06a9\u062f\u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 (Scratch Codes)\"\/><a class=\"gs-scrollto\" href=\"#test-with-backup-scratch-codes\">\u062a\u0633\u062a \u0628\u0627 \u06a9\u062f\u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 (Scratch Codes)<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">6.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af\u200c\u0647\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a\"\/><a class=\"gs-scrollto\" href=\"#check-authentication-logs\">\u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af\u200c\u0647\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">7<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0646\u0627\u0631\u06cc\u0648\u0647\u0627\u06cc \u0627\u0636\u0637\u0631\u0627\u0631\u06cc \u0648 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc\"\/><a class=\"gs-scrollto\" href=\"#emergency-scenarios-access-recovery-management\">\u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0646\u0627\u0631\u06cc\u0648\u0647\u0627\u06cc \u0627\u0636\u0637\u0631\u0627\u0631\u06cc \u0648 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">7.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u06af\u0645 \u0634\u062f\u0646 \u06af\u0648\u0634\u06cc \u06cc\u0627 \u0639\u062f\u0645 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 Authenticator\"\/><a class=\"gs-scrollto\" href=\"#lost-phone-no-access-authenticator-app\">\u06af\u0645 \u0634\u062f\u0646 \u06af\u0648\u0634\u06cc \u06cc\u0627 \u0639\u062f\u0645 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 Authenticator<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">7.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f 2FA \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\"\/><a class=\"gs-scrollto\" href=\"#reset-2fa-for-user\">\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f 2FA \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">7.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0627\u0636\u0637\u0631\u0627\u0631\u06cc\"\/><a class=\"gs-scrollto\" href=\"#create-emergency-user-account\">\u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0627\u0636\u0637\u0631\u0627\u0631\u06cc<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">7.4<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u200c\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a 2FA\"\/><a class=\"gs-scrollto\" href=\"#backup-2fa-settings\">\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u200c\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a 2FA<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">8<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc \u0648 \u0646\u06a9\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647\"\/><a class=\"gs-scrollto\" href=\"#optimization-advanced-security-tips\">\u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc \u0648 \u0646\u06a9\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">8.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062a\u0631\u06a9\u06cc\u0628 2FA \u0628\u0627 \u06a9\u0644\u06cc\u062f SSH \u0628\u0631\u0627\u06cc \u062d\u062f\u0627\u06a9\u062b\u0631 \u0627\u0645\u0646\u06cc\u062a\"\/><a class=\"gs-scrollto\" href=\"#combine-2fa-with-ssh-key-maximum-security\">\u062a\u0631\u06a9\u06cc\u0628 2FA \u0628\u0627 \u06a9\u0644\u06cc\u062f SSH \u0628\u0631\u0627\u06cc \u062d\u062f\u0627\u06a9\u062b\u0631 \u0627\u0645\u0646\u06cc\u062a<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">9<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0645\u062d\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u062a\u0639\u062f\u0627\u062f \u062a\u0644\u0627\u0634\u200c\u0647\u0627\u06cc \u0648\u0631\u0648\u062f \u0646\u0627\u0645\u0648\u0641\u0642\"\/><a class=\"gs-scrollto\" href=\"#limit-failed-login-attempts\">\u0645\u062d\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u062a\u0639\u062f\u0627\u062f \u062a\u0644\u0627\u0634\u200c\u0647\u0627\u06cc \u0648\u0631\u0648\u062f \u0646\u0627\u0645\u0648\u0641\u0642<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">9.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062a\u0646\u0638\u06cc\u0645 \u0647\u0634\u062f\u0627\u0631\u0647\u0627\u06cc \u0627\u06cc\u0645\u06cc\u0644 \u0628\u0631\u0627\u06cc \u0648\u0631\u0648\u062f\u0647\u0627\u06cc \u0645\u0648\u0641\u0642\"\/><a class=\"gs-scrollto\" href=\"#setup-email-alerts-successful-logins\">\u062a\u0646\u0638\u06cc\u0645 \u0647\u0634\u062f\u0627\u0631\u0647\u0627\u06cc \u0627\u06cc\u0645\u06cc\u0644 \u0628\u0631\u0627\u06cc \u0648\u0631\u0648\u062f\u0647\u0627\u06cc \u0645\u0648\u0641\u0642<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">9.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0648\u0631\u062a \u063a\u06cc\u0631\u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u0628\u0631\u0627\u06cc SSH\"\/><a class=\"gs-scrollto\" href=\"#use-non-standard-port-ssh\">\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0648\u0631\u062a \u063a\u06cc\u0631\u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u0628\u0631\u0627\u06cc SSH<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">10<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0639\u06cc\u0628\u200c\u06cc\u0627\u0628\u06cc \u0645\u0634\u06a9\u0644\u0627\u062a \u0631\u0627\u06cc\u062c \u062f\u0631 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc 2FA\"\/><a class=\"gs-scrollto\" href=\"#troubleshooting-common-problems-2fa-implementatio\">\u0639\u06cc\u0628\u200c\u06cc\u0627\u0628\u06cc \u0645\u0634\u06a9\u0644\u0627\u062a \u0631\u0627\u06cc\u062c \u062f\u0631 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc 2FA<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">10.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062e\u0637\u0627\u06cc &quot;Permission denied&quot; \u0628\u0639\u062f \u0627\u0632 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\"\/><a class=\"gs-scrollto\" href=\"#permission-denied-error-after-configuration\">\u062e\u0637\u0627\u06cc &#8220;Permission denied&#8221; \u0628\u0639\u062f \u0627\u0632 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">10.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u06a9\u062f 2FA \u0642\u0628\u0648\u0644 \u0646\u0645\u06cc\u200c\u0634\u0648\u062f (Invalid verification code)\"\/><a class=\"gs-scrollto\" href=\"#2fa-code-not-accepted-invalid-verification\">\u06a9\u062f 2FA \u0642\u0628\u0648\u0644 \u0646\u0645\u06cc\u200c\u0634\u0648\u062f (Invalid verification code)<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">10.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0628\u0631\u0646\u0627\u0645\u0647 Authenticator \u06a9\u062f \u0646\u0645\u0627\u06cc\u0634 \u0646\u0645\u06cc\u200c\u062f\u0647\u062f\"\/><a class=\"gs-scrollto\" href=\"#authenticator-app-not-showing-code\">\u0628\u0631\u0646\u0627\u0645\u0647 Authenticator \u06a9\u062f \u0646\u0645\u0627\u06cc\u0634 \u0646\u0645\u06cc\u200c\u062f\u0647\u062f<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">10.4<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0633\u0631\u0648\u0631 \u0628\u0639\u062f \u0627\u0632 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0642\u0641\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a\"\/><a class=\"gs-scrollto\" href=\"#server-locked-after-configuration\">\u0633\u0631\u0648\u0631 \u0628\u0639\u062f \u0627\u0632 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0642\u0641\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">10.5<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u067e\u06cc\u0627\u0645 &quot;google_authenticator: command not found&quot;\"\/><a class=\"gs-scrollto\" href=\"#google-authenticator-command-not-found\">\u067e\u06cc\u0627\u0645 &#8220;google_authenticator: command not found&#8221;<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">10.6<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062e\u0637\u0627\u06cc SELinux \u062f\u0631 CentOS\/RHEL\"\/><a class=\"gs-scrollto\" href=\"#selinux-error-centos-rhel\">\u062e\u0637\u0627\u06cc SELinux \u062f\u0631 CentOS\/RHEL<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">11<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0645\u0642\u0627\u06cc\u0633\u0647 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 2FA \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\"\/><a class=\"gs-scrollto\" href=\"#compare-different-2fa-tools-linux\">\u0645\u0642\u0627\u06cc\u0633\u0647 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 2FA \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">11.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"Google Authenticator \u0648 Duo \u0648 FreeOTP\"\/><a class=\"gs-scrollto\" href=\"#google-authenticator-vs-duo-vs-freeotp\">Google Authenticator \u0648 Duo \u0648 FreeOTP<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">11.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0645\u0642\u0627\u06cc\u0633\u0647 TOTP \u0648 HOTP\"\/><a class=\"gs-scrollto\" href=\"#compare-totp-vs-hotp\">\u0645\u0642\u0627\u06cc\u0633\u0647 TOTP \u0648 HOTP<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">11.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0646\u062a\u06cc\u062c\u0647\u200c\u06af\u06cc\u0631\u06cc: \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\"\/><a class=\"gs-scrollto\" href=\"#Conclusion\">\u0646\u062a\u06cc\u062c\u0647\u200c\u06af\u06cc\u0631\u06cc: \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">11.4<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644 \u0627\u0632 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc (2FA) \u0628\u0631\u0627\u06cc SSH \u062f\u0631 \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633\"\/><a class=\"gs-scrollto\" href=\"#FAQ\">\u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644 \u0627\u0632 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc (2FA) \u0628\u0631\u0627\u06cc SSH \u062f\u0631 \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633<\/a><\/span><\/div><\/div><\/div>\n<\/div>\n\n\n\n<div id=\"understanding-two-factor-authentication-ssh-security\"><\/div><h2 id=\"gspb_heading-id-gsbp-a2eb615\" class=\"gspb_heading gspb_heading-id-gsbp-a2eb615 \">\u062f\u0631\u06a9 \u0645\u0641\u0647\u0648\u0645 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0648 \u0646\u0642\u0634 \u0622\u0646 \u062f\u0631 \u0627\u0645\u0646\u06cc\u062a SSH<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-d2bf4fb\" class=\"gspb_text gspb_text-id-gsbp-d2bf4fb \">\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0645\u062b\u0644 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0648\u0631\u0648\u062f \u0628\u0647 \u062e\u0627\u0646\u0647\u200c\u062a\u0627\u0646\u060c \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u06a9\u0644\u06cc\u062f\u060c \u0628\u0647 \u0631\u0645\u0632 \u06af\u0627\u0648\u0635\u0646\u062f\u0648\u0642 \u0647\u0645 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f. \u062f\u0631 \u062f\u0646\u06cc\u0627\u06cc \u0633\u0631\u0648\u0631\u0647\u0627\u060c \u0627\u06cc\u0646 \u06cc\u0639\u0646\u06cc \u062d\u062a\u06cc \u0627\u06af\u0631 \u06a9\u0633\u06cc \u0631\u0645\u0632 \u0639\u0628\u0648\u0631\u062a\u0627\u0646 \u0631\u0627 \u0628\u062f\u0627\u0646\u062f\u060c \u0628\u062f\u0648\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u06af\u0648\u0634\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644 \u0634\u0645\u0627 \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0648\u0627\u0631\u062f \u0633\u0631\u0648\u0631 \u0634\u0648\u062f. \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0628\u0647\u200c\u062e\u0635\u0648\u0635 \u0628\u0631\u0627\u06cc SSH \u062d\u06cc\u0627\u062a\u06cc \u0627\u0633\u062a \u0686\u0648\u0646 SSH \u062f\u0631\u0648\u0627\u0632\u0647 \u0627\u0635\u0644\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u0631 \u0627\u0633\u062a \u0648 \u0627\u06af\u0631 \u06a9\u0633\u06cc \u0627\u0632 \u0622\u0646 \u0648\u0627\u0631\u062f \u0634\u0648\u062f\u060c \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0627\u0645\u0644 \u0633\u06cc\u0633\u062a\u0645 \u0631\u0627 \u062f\u0631 \u062f\u0633\u062a \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u0645 \u0686\u0631\u0627 \u062a\u0646\u0647\u0627 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u06a9\u0627\u0641\u06cc \u0646\u06cc\u0633\u062a \u0648 \u0686\u06af\u0648\u0646\u0647 2FA \u0628\u0647 \u06cc\u06a9 \u0633\u067e\u0631 \u0645\u062d\u0627\u0641\u0638 \u0642\u062f\u0631\u062a\u0645\u0646\u062f \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/div>\n\n\n\n<div id=\"what-is-two-factor-authentication\"><\/div><h3 id=\"gspb_heading-id-gsbp-13356bd\" class=\"gspb_heading gspb_heading-id-gsbp-13356bd \">\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0686\u06cc\u0633\u062a\u061f<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-5714e8b\" class=\"gspb_text gspb_text-id-gsbp-5714e8b \">\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u06cc\u0627 Two-Factor Authentication (2FA) \u06cc\u06a9 \u0644\u0627\u06cc\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0627\u0636\u0627\u0641\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631\u060c \u06cc\u06a9 \u0639\u0627\u0645\u0644 \u062f\u0648\u0645 \u0631\u0627 \u0628\u0631\u0627\u06cc \u062a\u0623\u06cc\u06cc\u062f \u0647\u0648\u06cc\u062a \u06a9\u0627\u0631\u0628\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0627\u06cc\u0646 \u0639\u0627\u0645\u0644 \u062f\u0648\u0645 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u06cc\u06a9 \u06a9\u062f \u0634\u0634 \u0631\u0642\u0645\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0647\u0631 30 \u062b\u0627\u0646\u06cc\u0647 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u062a\u0648\u0633\u0637 \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u0645\u0648\u0628\u0627\u06cc\u0644 \u0645\u0627\u0646\u0646\u062f Google Authenticator\u060c Microsoft Authenticator \u06cc\u0627 Authy \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u0634\u0648\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-2feeea7\" class=\"gspb_text gspb_text-id-gsbp-2feeea7 \">\u0645\u0632\u06cc\u062a \u0627\u0635\u0644\u06cc \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u062d\u062a\u06cc \u0627\u06af\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0634\u0645\u0627 \u0627\u0641\u0634\u0627 \u0634\u0648\u062f\u060c \u0645\u0647\u0627\u062c\u0645 \u0628\u062f\u0648\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062f\u0633\u062a\u06af\u0627\u0647 \u0641\u06cc\u0632\u06cc\u06a9\u06cc \u0634\u0645\u0627 \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0648\u0627\u0631\u062f \u0633\u06cc\u0633\u062a\u0645 \u0634\u0648\u062f. \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0628\u0647\u200c\u0648\u06cc\u0698\u0647 \u0628\u0631\u0627\u06cc \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u062a\u0648\u0644\u06cc\u062f\u06cc \u0648 \u0645\u062d\u06cc\u0637\u200c\u0647\u0627\u06cc \u062d\u0633\u0627\u0633 \u0628\u0633\u06cc\u0627\u0631 \u062d\u06cc\u0627\u062a\u06cc \u0627\u0633\u062a.<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-image gspb_image gspb_image-id-gsbp-164d78f\" id=\"gspb_image-id-gsbp-164d78f\"><img decoding=\"async\" src=\"https:\/\/webdade.com\/blog\/wp-content\/uploads\/2025\/11\/two-factor-authentication-ssh-linux-serve1r-min_11zon.webp\" data-src=\"\" alt=\"\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\" loading=\"lazy\" width=\"910\" height=\"492\"\/><\/div>\n\n\n\n<div id=\"why-ssh-needs-more-protection\"><\/div><h3 id=\"gspb_heading-id-gsbp-c813fe9\" class=\"gspb_heading gspb_heading-id-gsbp-c813fe9 \">\u0686\u0631\u0627 SSH \u0646\u06cc\u0627\u0632 \u0628\u0647 \u062d\u0641\u0627\u0638\u062a \u0628\u06cc\u0634\u062a\u0631\u06cc \u062f\u0627\u0631\u062f\u061f<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-0c684ff\" class=\"gspb_text gspb_text-id-gsbp-0c684ff \">\u067e\u0631\u0648\u062a\u06a9\u0644 SSH (Secure Shell) \u062f\u0631\u0648\u0627\u0632\u0647 \u0627\u0635\u0644\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0633\u062a. \u0647\u0631 \u0633\u0631\u0648\u0631\u06cc \u06a9\u0647 \u0628\u0647 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0645\u062a\u0635\u0644 \u0628\u0627\u0634\u062f\u060c \u0628\u0647\u200c\u0637\u0648\u0631 \u0645\u062f\u0627\u0648\u0645 \u0647\u062f\u0641 \u062d\u0645\u0644\u0627\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0631\u0648\u062a \u0641\u0648\u0631\u0633 \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f. \u0627\u06cc\u0646 \u062d\u0645\u0644\u0627\u062a \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0627\u0632 \u0644\u06cc\u0633\u062a\u200c\u0647\u0627\u06cc \u0631\u0627\u06cc\u062c \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0648 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u062a\u0627 \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0646\u0641\u0648\u0630 \u06a9\u0646\u0646\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-9d2d0c4\" class=\"gspb_text gspb_text-id-gsbp-9d2d0c4 \">\ud83d\udcdd \u0622\u0645\u0627\u0631\u0647\u0627\u06cc \u0627\u0645\u0646\u06cc\u062a\u06cc \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0628\u06cc\u0634 \u0627\u0632 80 \u062f\u0631\u0635\u062f \u062d\u0645\u0644\u0627\u062a \u0645\u0648\u0641\u0642 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0628\u0627 \u0631\u0645\u0632\u0647\u0627\u06cc \u0639\u0628\u0648\u0631 \u0636\u0639\u06cc\u0641 \u06cc\u0627 \u0633\u0631\u0642\u062a \u0634\u062f\u0647 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f<\/li>\n\n\n\n<li>\u0645\u06cc\u0627\u0646\u06af\u06cc\u0646 \u0632\u0645\u0627\u0646 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u06cc\u06a9 \u0646\u0641\u0648\u0630 \u0645\u0648\u0641\u0642\u060c 197 \u0631\u0648\u0632 \u0627\u0633\u062a<\/li>\n\n\n\n<li>\u0647\u0632\u06cc\u0646\u0647 \u0645\u062a\u0648\u0633\u0637 \u0647\u0631 \u0646\u0642\u0636 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0628\u0631\u0627\u06cc \u06a9\u0633\u0628\u200c\u0648\u06a9\u0627\u0631\u0647\u0627 \u0628\u06cc\u0634 \u0627\u0632 4 \u0645\u06cc\u0644\u06cc\u0648\u0646 \u062f\u0644\u0627\u0631 \u0627\u0633\u062a<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-ab5b05c\" class=\"gspb_text gspb_text-id-gsbp-ab5b05c \">\u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u062a\u0627\u0645\u06cc\u0646 \u0627\u0645\u0646\u06cc\u062a \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0627 2FA \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0627\u06cc\u0646 \u0631\u06cc\u0633\u06a9\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647\u200c\u0637\u0648\u0631 \u0686\u0634\u0645\u06af\u06cc\u0631\u06cc \u06a9\u0627\u0647\u0634 \u062f\u0647\u062f.<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-b86bf5d\" id=\"gspb_container-id-gsbp-b86bf5d\">\n<div id=\"gspb_text-id-gsbp-a376994\" class=\"gspb_text gspb_text-id-gsbp-a376994 \">\ud83d\udca1 \u0628\u06cc\u0634\u062a\u0631 \u0628\u062f\u0627\u0646\u06cc\u062f: <strong><a href=\"https:\/\/webdade.com\/blog\/how-to-login-linux-server\" data-type=\"link\" data-id=\"https:\/\/webdade.com\/blog\/how-to-login-linux-server\">\u0622\u0645\u0648\u0632\u0634 \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0627 4 \u0631\u0648\u0634 + \u0648\u06cc\u062f\u06cc\u0648 \u0622\u0645\u0648\u0632\u0634\u06cc<\/a><\/strong><\/div>\n<\/div>\n\n\n\n<div id=\"compare-different-ssh-security-methods\"><\/div><h3 id=\"gspb_heading-id-gsbp-0e2c08f\" class=\"gspb_heading gspb_heading-id-gsbp-0e2c08f \">\u0645\u0642\u0627\u06cc\u0633\u0647 \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u0645\u0646\u06cc\u062a SSH<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-d8ba9c6\" class=\"gspb_text gspb_text-id-gsbp-d8ba9c6 \">\u0642\u0628\u0644 \u0627\u0632 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc\u060c \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u0645\u0646\u06cc\u062a SSH \u0631\u0627 \u0628\u0634\u0646\u0627\u0633\u06cc\u062f:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong> \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0633\u0627\u062f\u0647:<\/strong> \u0627\u0645\u0646\u06cc\u062a \u067e\u0627\u06cc\u06cc\u0646\u060c \u0622\u0633\u06cc\u0628\u200c\u067e\u0630\u06cc\u0631 \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 \u062d\u0645\u0644\u0627\u062a \u0628\u0631\u0648\u062a \u0641\u0648\u0631\u0633<\/li>\n\n\n\n<li><strong>\u06a9\u0644\u06cc\u062f SSH (SSH Key):<\/strong> \u0627\u0645\u0646\u06cc\u062a \u0628\u0627\u0644\u0627\u060c \u0627\u0645\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0633\u0631\u0642\u062a \u06a9\u0644\u06cc\u062f \u062e\u0635\u0648\u0635\u06cc\u060c \u0633\u06cc\u0633\u062a\u0645 \u06a9\u0627\u0645\u0644\u0627\u064b \u062f\u0631 \u0645\u0639\u0631\u0636 \u062e\u0637\u0631 \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f.<\/li>\n\n\n\n<li><strong>2FA \u0628\u0627 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631:<\/strong> \u0627\u0645\u0646\u06cc\u062a \u0628\u0633\u06cc\u0627\u0631 \u0628\u0627\u0644\u0627\u060c \u062d\u062a\u06cc \u0628\u0627 \u0633\u0631\u0642\u062a \u0631\u0645\u0632 \u0639\u0628\u0648\u0631\u060c \u0646\u0641\u0648\u0630 \u063a\u06cc\u0631\u0645\u0645\u06a9\u0646 \u0627\u0633\u062a<\/li>\n\n\n\n<li><strong>2FA \u0628\u0627 \u06a9\u0644\u06cc\u062f SSH:<\/strong> \u0628\u0627\u0644\u0627\u062a\u0631\u06cc\u0646 \u0633\u0637\u062d \u0627\u0645\u0646\u06cc\u062a\u060c \u062a\u0631\u06a9\u06cc\u0628 \u0686\u06cc\u0632\u06cc \u06a9\u0647 \u062f\u0627\u0631\u06cc\u062f (\u06a9\u0644\u06cc\u062f) \u0648 \u0686\u06cc\u0632\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062f\u0627\u0646\u06cc\u062f (\u06a9\u062f 2FA)<\/li>\n<\/ul>\n\n\n\n<div id=\"install-setup-system-two-factor-authentication\"><\/div><h2 id=\"gspb_heading-id-gsbp-0506dd3\" class=\"gspb_heading gspb_heading-id-gsbp-0506dd3 \">\u0646\u0635\u0628 \u0648 \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0628\u0631\u0627\u06cc 2FA<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-67c8b14\" class=\"gspb_text gspb_text-id-gsbp-67c8b14 \">\u0642\u0628\u0644 \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0628\u062e\u0648\u0627\u0647\u06cc\u0645 \u0642\u0641\u0644 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0631\u0648\u06cc \u062f\u0631 \u0648\u0631\u0648\u062f\u06cc \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645\u060c \u0627\u0648\u0644 \u0628\u0627\u06cc\u062f \u0627\u0628\u0632\u0627\u0631\u0647\u0627 \u0648 \u0642\u0637\u0639\u0627\u062a \u0644\u0627\u0632\u0645 \u0631\u0627 \u0622\u0645\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647\u060c \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0634\u0645\u0627 \u0631\u0627 \u0628\u0627 \u0646\u0635\u0628 \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u06cc \u0636\u0631\u0648\u0631\u06cc \u0628\u0631\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0627\u0632 2FA \u0645\u062c\u0647\u0632 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u062e\u0648\u0634\u0628\u062e\u062a\u0627\u0646\u0647 \u0627\u06cc\u0646 \u0641\u0631\u0622\u06cc\u0646\u062f \u0628\u0633\u06cc\u0627\u0631 \u0633\u0627\u062f\u0647 \u0627\u0633\u062a \u0648 \u0628\u0633\u062a\u0647 \u0628\u0647 \u062a\u0648\u0632\u06cc\u0639 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0634\u0645\u0627 (Ubuntu\u060c CentOS \u06cc\u0627 \u062f\u06cc\u06af\u0631 \u062a\u0648\u0632\u06cc\u0639\u200c\u0647\u0627) \u0641\u0642\u0637 \u0628\u0627 \u0686\u0646\u062f \u062f\u0633\u062a\u0648\u0631 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u0646\u06a9\u062a\u0647 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0642\u0628\u0644 \u0627\u0632 \u0634\u0631\u0648\u0639\u060c \u06cc\u06a9 \u0646\u0633\u062e\u0647 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0641\u0639\u0644\u06cc \u062a\u0647\u06cc\u0647 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0627\u06af\u0631 \u0645\u0634\u06a9\u0644\u06cc \u067e\u06cc\u0634 \u0622\u0645\u062f\u060c \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u062d\u0627\u0644\u062a \u0642\u0628\u0644 \u0628\u0631\u06af\u0631\u062f\u06cc\u062f.<\/div>\n\n\n\n<div id=\"understanding-pam-module-its-role\"><\/div><h3 id=\"gspb_heading-id-gsbp-dd6cd34\" class=\"gspb_heading gspb_heading-id-gsbp-dd6cd34 \">\u062f\u0631\u06a9 \u0645\u0627\u0698\u0648\u0644 PAM \u0648 \u0646\u0642\u0634 \u0622\u0646<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-967af92\" class=\"gspb_text gspb_text-id-gsbp-967af92 \">PAM (Pluggable Authentication Modules) \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0646\u0639\u0637\u0627\u0641\u200c\u067e\u0630\u06cc\u0631 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0633\u06cc\u0633\u062a\u0645 \u0628\u0647 \u0634\u0645\u0627 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f \u0628\u062f\u0648\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u0627\u0635\u0644\u06cc\u060c \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f \u06cc\u0627 \u0644\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-29693fa\" class=\"gspb_text gspb_text-id-gsbp-29693fa \">PAM (Pluggable Authentication Modules) \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0646\u0639\u0637\u0627\u0641\u200c\u067e\u0630\u06cc\u0631 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0633\u06cc\u0633\u062a\u0645 \u0628\u0647 \u0634\u0645\u0627 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f \u0628\u062f\u0648\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u0627\u0635\u0644\u06cc\u060c \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f \u06cc\u0627 \u0644\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"install-google-authenticator-ubuntu-debian\"><\/div><h3 id=\"gspb_heading-id-gsbp-05d9dfb\" class=\"gspb_heading gspb_heading-id-gsbp-05d9dfb \">\u0646\u0635\u0628 \u0645\u0627\u0698\u0648\u0644 Google Authenticator \u062f\u0631 Ubuntu\/Debian<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-8cbd059\" class=\"gspb_text gspb_text-id-gsbp-8cbd059 \">\u0628\u0631\u0627\u06cc \u062a\u0648\u0632\u06cc\u0639\u200c\u0647\u0627\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 Debian \u0645\u0627\u0646\u0646\u062f Ubuntu\u060c \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0644\u06cc\u0633\u062a \u0628\u0633\u062a\u0647\u200c\u0647\u0627\nsudo apt update\n\n# \u0646\u0635\u0628 \u0645\u0627\u0698\u0648\u0644 libpam-google-authenticator\nsudo apt install libpam-google-authenticator -y\n\n# \u0628\u0631\u0631\u0633\u06cc \u0646\u0635\u0628 \u0645\u0648\u0641\u0642\ndpkg -l | grep libpam-google-authenticator<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0644\u06cc\u0633\u062a \u0628\u0633\u062a\u0647\u200c\u0647\u0627<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">apt<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">update<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0646\u0635\u0628 \u0645\u0627\u0698\u0648\u0644 libpam-google-authenticator<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">apt<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">libpam-google-authenticator<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0646\u0635\u0628 \u0645\u0648\u0641\u0642<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dpkg<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-l<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">grep<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">libpam-google-authenticator<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-938a337\" class=\"gspb_text gspb_text-id-gsbp-938a337 \">\u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0634\u0627\u0645\u0644 \u062f\u0648 \u0628\u062e\u0634 \u0627\u0635\u0644\u06cc \u0627\u0633\u062a:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0645\u0627\u0698\u0648\u0644 PAM \u06a9\u0647 \u0628\u0627 \u0633\u06cc\u0633\u062a\u0645 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0627\u062f\u063a\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f<\/li>\n\n\n\n<li>\u0627\u0628\u0632\u0627\u0631 \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 \u0628\u0631\u0627\u06cc \u062a\u0648\u0644\u06cc\u062f \u06a9\u062f\u0647\u0627\u06cc QR \u0648 \u0645\u062f\u06cc\u0631\u06cc\u062a \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u06a9\u0627\u0631\u0628\u0631\u0627\u0646<\/li>\n<\/ul>\n\n\n\n<div id=\"install-centos-rhel-almalinux\"><\/div><h3 id=\"gspb_heading-id-gsbp-c1665ae\" class=\"gspb_heading gspb_heading-id-gsbp-c1665ae \">\u0646\u0635\u0628 \u062f\u0631 CentOS\/RHEL\/AlmaLinux<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-dd3b12e\" class=\"gspb_text gspb_text-id-gsbp-dd3b12e \">\u0628\u0631\u0627\u06cc \u062a\u0648\u0632\u06cc\u0639\u200c\u0647\u0627\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 Red Hat\u060c \u0641\u0631\u0622\u06cc\u0646\u062f \u06a9\u0645\u06cc \u0645\u062a\u0641\u0627\u0648\u062a \u0627\u0633\u062a:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0645\u062e\u0632\u0646 EPEL\nsudo yum install epel-release -y\n\n# \u0646\u0635\u0628 Google Authenticator\nsudo yum install google-authenticator -y\n\n# \u0628\u0631\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645\u200c\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f\u062a\u0631 \u0628\u0627 DNF\nsudo dnf install google-authenticator -y<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0645\u062e\u0632\u0646 EPEL<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yum<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">epel-release<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0646\u0635\u0628 Google Authenticator<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yum<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">google-authenticator<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645\u200c\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f\u062a\u0631 \u0628\u0627 DNF<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">google-authenticator<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"check-prerequisites-ssh-service-status\"><\/div><h3 id=\"gspb_heading-id-gsbp-d18286a\" class=\"gspb_heading gspb_heading-id-gsbp-d18286a \">\u0628\u0631\u0631\u0633\u06cc \u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627 \u0648 \u0648\u0636\u0639\u06cc\u062a \u0633\u0631\u0648\u06cc\u0633 SSH<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-e4de65d\" class=\"gspb_text gspb_text-id-gsbp-e4de65d \">\u0642\u0628\u0644 \u0627\u0632 \u0627\u062f\u0627\u0645\u0647\u060c \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a \u0633\u0631\u0648\u06cc\u0633 SSH\nsudo systemctl status sshd\n\n# \u0627\u06af\u0631 \u0633\u0631\u0648\u06cc\u0633 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0627\u0633\u062a\nsudo systemctl start sshd\nsudo systemctl enable sshd\n\n# \u0628\u0631\u0631\u0633\u06cc \u067e\u0648\u0631\u062a SSH\nsudo ss -tlnp | grep ssh<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a \u0633\u0631\u0648\u06cc\u0633 SSH<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">status<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sshd<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u06af\u0631 \u0633\u0631\u0648\u06cc\u0633 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0627\u0633\u062a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">start<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sshd<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">enable<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sshd<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u067e\u0648\u0631\u062a SSH<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ss<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-tlnp<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">grep<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ssh<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-5edec11\" id=\"gspb_container-id-gsbp-5edec11\">\n<div id=\"gspb_text-id-gsbp-6e00b49\" class=\"gspb_text gspb_text-id-gsbp-6e00b49 \">\u26a0 <strong>\u0646\u06a9\u062a\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0645\u0647\u0645:<\/strong> \u0642\u0628\u0644 \u0627\u0632 \u0647\u0631 \u062a\u063a\u06cc\u06cc\u0631\u06cc \u062f\u0631 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc SSH\u060c \u062d\u062a\u0645\u0627\u064b \u06cc\u06a9 \u0646\u0634\u0633\u062a SSH \u0641\u0639\u0627\u0644 \u0628\u0627\u0632 \u0646\u06af\u0647 \u062f\u0627\u0631\u06cc\u062f. \u0627\u06af\u0631 \u0627\u0634\u062a\u0628\u0627\u0647\u06cc \u062f\u0631 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0631\u062e \u062f\u0647\u062f\u060c \u0647\u0646\u0648\u0632 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u0646\u0634\u0633\u062a \u0628\u0631\u0627\u06cc \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0646 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-image gspb_image gspb_image-id-gsbp-34f65b1\" id=\"gspb_image-id-gsbp-34f65b1\"><img decoding=\"async\" src=\"https:\/\/webdade.com\/blog\/wp-content\/uploads\/2025\/11\/two-factor-authentication-ssh-linux-server3-min_11zon.webp\" data-src=\"\" alt=\"2FA SSH\" loading=\"lazy\" width=\"910\" height=\"492\"\/><\/div>\n\n\n\n<div id=\"configure-pam-module-two-factor-authentication\"><\/div><h2 id=\"gspb_heading-id-gsbp-0dfdaae\" class=\"gspb_heading gspb_heading-id-gsbp-0dfdaae \">\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0645\u0627\u0698\u0648\u0644 PAM \u0628\u0631\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc (2FA SSH)<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-cb054c4\" class=\"gspb_text gspb_text-id-gsbp-cb054c4 \">\u062d\u0627\u0644 \u06a9\u0647 \u0645\u0627\u0698\u0648\u0644 Google Authenticator \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0631\u062f\u06cc\u062f\u060c \u0628\u0627\u06cc\u062f \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u06af\u0648\u06cc\u06cc\u062f \u06a9\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc PAM \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0645\u0633\u0626\u0648\u0644 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0648\u0631\u0648\u062f \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0647\u0633\u062a\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0628\u0627 \u062f\u0642\u062a \u06cc\u06a9 \u062e\u0637 \u06a9\u0644\u06cc\u062f\u06cc \u0628\u0647 \u0641\u0627\u06cc\u0644 \u0645\u0631\u0628\u0648\u0637\u0647 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0648 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0622\u0646 \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0633\u0631\u0648\u0631 \u0628\u062f\u0627\u0646\u062f \u0686\u0647 \u0632\u0645\u0627\u0646\u06cc \u0648 \u0686\u06af\u0648\u0646\u0647 \u06a9\u062f 2FA \u0631\u0627 \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u06a9\u0646\u062f. \u0627\u0634\u062a\u0628\u0627\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u0627\u0639\u062b \u0642\u0641\u0644 \u0634\u062f\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u0634\u0648\u062f\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0647\u0631 \u0645\u0631\u062d\u0644\u0647 \u0631\u0627 \u0628\u0627 \u062f\u0642\u062a \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"edit-pam-configuration-file-ssh\"><\/div><h3 id=\"gspb_heading-id-gsbp-2b64d7e\" class=\"gspb_heading gspb_heading-id-gsbp-2b64d7e \">\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc PAM \u0628\u0631\u0627\u06cc SSH<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-e556d25\" class=\"gspb_text gspb_text-id-gsbp-e556d25 \">\u0627\u06a9\u0646\u0648\u0646 \u0628\u0627\u06cc\u062f \u0645\u0627\u0698\u0648\u0644 Google Authenticator \u0631\u0627 \u0628\u0647 \u0632\u0646\u062c\u06cc\u0631\u0647 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a PAM \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f. \u0641\u0627\u06cc\u0644 \u0645\u0631\u0628\u0648\u0637\u0647 \u0645\u0639\u0645\u0648\u0644\u0627\u064b <code>\/etc\/pam.d\/sshd<\/code> \u0627\u0633\u062a:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0627\u06cc\u062c\u0627\u062f \u0646\u0633\u062e\u0647 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0627\u0635\u0644\u06cc\nsudo cp \/etc\/pam.d\/sshd \/etc\/pam.d\/sshd.backup\n\n# \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644\nsudo nano \/etc\/pam.d\/sshd<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u06cc\u062c\u0627\u062f \u0646\u0633\u062e\u0647 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0627\u0635\u0644\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">cp<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/pam.d\/sshd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/pam.d\/sshd.backup<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/pam.d\/sshd<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-1f7e108\" class=\"gspb_text gspb_text-id-gsbp-1f7e108 \">\u062f\u0631 \u0627\u0628\u062a\u062f\u0627\u06cc \u0641\u0627\u06cc\u0644\u060c \u062e\u0637 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>auth required pam_google_authenticator.so nullok<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">auth<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">required<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">pam_google_authenticator.so<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nullok<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-6719b50\" class=\"gspb_text gspb_text-id-gsbp-6719b50 \">\u0627\u06cc\u0646 \u062e\u0637 \u0628\u0647 PAM \u0645\u06cc\u200c\u06af\u0648\u06cc\u062f \u06a9\u0647:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>auth<\/code>: \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0628\u0631\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0627\u0633\u062a<\/li>\n\n\n\n<li><code>required<\/code>: \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0627\u0644\u0632\u0627\u0645\u06cc \u0627\u0633\u062a \u0648 \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0631\u062f \u0634\u0648\u062f<\/li>\n\n\n\n<li><code>pam_google_authenticator.so<\/code>: \u0646\u0627\u0645 \u0645\u0627\u0698\u0648\u0644<\/li>\n\n\n\n<li><code>nullok<\/code>: \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0627\u0631\u0628\u0631\u0627\u0646\u06cc \u06a9\u0647 \u0647\u0646\u0648\u0632 2FA \u0631\u0627 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0646\u06a9\u0631\u062f\u0647\u200c\u0627\u0646\u062f \u0628\u062a\u0648\u0627\u0646\u0646\u062f \u0648\u0627\u0631\u062f \u0634\u0648\u0646\u062f<\/li>\n<\/ul>\n\n\n\n<div id=\"understanding-different-pam-module-parameters\"><\/div><h3 id=\"gspb_heading-id-gsbp-70a5f0a\" class=\"gspb_heading gspb_heading-id-gsbp-70a5f0a \">\u062f\u0631\u06a9 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0645\u0627\u0698\u0648\u0644 PAM<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-d402b40\" class=\"gspb_text gspb_text-id-gsbp-d402b40 \">\u0645\u0627\u0698\u0648\u0644 Google Authenticator \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u062f\u0627\u0631\u062f \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0622\u0646\u200c\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>nullok:<\/strong> \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0628\u062f\u0648\u0646 2FA \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0648\u0627\u0631\u062f \u0634\u0648\u0646\u062f (\u0628\u0631\u0627\u06cc \u0645\u0631\u062d\u0644\u0647 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc)<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>auth required pam_google_authenticator.so nullok<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">auth<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">required<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">pam_google_authenticator.so<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nullok<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>forward_pass:<\/strong> \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u0627 \u0628\u0647 \u0645\u0627\u0698\u0648\u0644 \u0628\u0639\u062f\u06cc \u0645\u0646\u062a\u0642\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>auth required pam_google_authenticator.so forward_pass<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">auth<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">required<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">pam_google_authenticator.so<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">forward_pass<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>secret:<\/strong> \u0645\u0633\u06cc\u0631 \u0641\u0627\u06cc\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0631\u0627 \u0645\u0634\u062e\u0635 \u0645\u06cc\u200c\u06a9\u0646\u062f<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>auth required pam_google_authenticator.so secret=\/etc\/ssh\/totp\/${USER}<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">auth<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">required<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">pam_google_authenticator.so<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">secret=\/etc\/ssh\/totp\/<\/span><span style=\"color: #F6F6F4\">${<\/span><span style=\"color: #BF9EEE\">USER<\/span><span style=\"color: #F6F6F4\">}<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong> echo_verification_code:<\/strong> \u06a9\u062f \u062a\u0623\u06cc\u06cc\u062f \u0631\u0627 \u062f\u0631 \u0644\u0627\u06af \u062b\u0628\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f (\u0641\u0642\u0637 \u0628\u0631\u0627\u06cc \u062f\u06cc\u0628\u0627\u06af)<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-756e077\" id=\"gspb_container-id-gsbp-756e077\">\n<div id=\"gspb_text-id-gsbp-ce644ec\" class=\"gspb_text gspb_text-id-gsbp-ce644ec \">\ud83d\udca1 <strong>\u062a\u0648\u0635\u06cc\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc:<\/strong> \u0628\u0631\u0627\u06cc \u0645\u062d\u06cc\u0637 \u062a\u0648\u0644\u06cc\u062f\u060c \u0628\u0639\u062f \u0627\u0632 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0627\u0645\u0644\u060c \u067e\u0627\u0631\u0627\u0645\u062a\u0631 <code>nullok<\/code> \u0631\u0627 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0647\u0645\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u0644\u0632\u0645 \u0628\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 2FA \u0634\u0648\u0646\u062f.<\/div>\n<\/div>\n\n\n\n<div id=\"disable-default-authentication-optional\"><\/div><h3 id=\"gspb_heading-id-gsbp-6b0957f\" class=\"gspb_heading gspb_heading-id-gsbp-6b0957f \">\u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-fe5a36f\" class=\"gspb_text gspb_text-id-gsbp-fe5a36f \">\u0627\u06af\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0641\u0642\u0637 \u0627\u0632 2FA \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0648\u062f \u0648 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0645\u0639\u0645\u0648\u0644\u06cc \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0628\u0627\u0634\u062f\u060c \u062e\u0637 \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 PAM \u06a9\u0627\u0645\u0646\u062a \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># @include common-auth<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># @include common-auth<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-d9286f5\" class=\"gspb_text gspb_text-id-gsbp-d9286f5 \">\u0628\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u060c \u0633\u06cc\u0633\u062a\u0645 \u0641\u0642\u0637 \u0627\u0632 \u06a9\u062f 2FA \u0628\u0631\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f.<\/div>\n\n\n\n<div id=\"configure-ssh-service-support-two-factor\"><\/div><h2 id=\"gspb_heading-id-gsbp-668de19\" class=\"gspb_heading gspb_heading-id-gsbp-668de19 \">\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0633\u0631\u0648\u06cc\u0633 SSH \u0628\u0631\u0627\u06cc 2FA SSH<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-3216d4d\" class=\"gspb_text gspb_text-id-gsbp-3216d4d \">\u062a\u0627 \u0627\u06cc\u0646\u062c\u0627 \u0645\u0627\u0698\u0648\u0644 2FA \u0631\u0627 \u0646\u0635\u0628 \u0648 \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645 PAM \u0645\u0639\u0631\u0641\u06cc \u06a9\u0631\u062f\u06cc\u0645\u060c \u0627\u0645\u0627 SSH Daemon \u0647\u0646\u0648\u0632 \u0627\u0632 \u0648\u062c\u0648\u062f \u0627\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a \u062e\u0628\u0631 \u0646\u062f\u0627\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0628\u0627\u06cc\u062f \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0627\u0635\u0644\u06cc SSH \u0631\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0628\u0647 \u0633\u0631\u0648\u06cc\u0633 SSH \u0628\u06af\u0648\u06cc\u06cc\u0645 \u0627\u0632 PAM \u0628\u0631\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f \u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 \u062a\u0639\u06cc\u06cc\u0646 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0686\u0647 \u062a\u0631\u06a9\u06cc\u0628\u06cc \u0627\u0632 \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a (\u0631\u0645\u0632 \u0639\u0628\u0648\u0631\u060c \u06a9\u0644\u06cc\u062f SSH\u060c \u06a9\u062f 2FA) \u0631\u0627 \u0628\u0627\u06cc\u062f \u0637\u06cc \u06a9\u0646\u0646\u062f. \u0627\u06cc\u0646 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062a\u0639\u06cc\u06cc\u0646 \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u0622\u06cc\u0627 \u0641\u0642\u0637 2FA \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u06cc\u0627 \u0628\u0627\u06cc\u062f \u0647\u0645\u0631\u0627\u0647 \u0628\u0627 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u06cc\u0627 \u06a9\u0644\u06cc\u062f SSH \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0648\u062f. \u0642\u0628\u0644 \u0627\u0632 \u0627\u0639\u0645\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u060c \u062d\u062a\u0645\u0627\u064b \u06cc\u06a9 \u0646\u0634\u0633\u062a SSH \u0641\u0639\u0627\u0644 \u0628\u0627\u0632 \u0646\u06af\u0647 \u062f\u0627\u0631\u06cc\u062f \u062a\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0628\u0631\u0648\u0632 \u0645\u0634\u06a9\u0644 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0631\u0627 \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"edit-sshd-config-file\"><\/div><h3 id=\"gspb_heading-id-gsbp-d199db0\" class=\"gspb_heading gspb_heading-id-gsbp-d199db0 \">\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 sshd_config<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-7a579bd\" class=\"gspb_text gspb_text-id-gsbp-7a579bd \">\u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0627\u0635\u0644\u06cc SSH Daemon \u062f\u0631 \u0645\u0633\u06cc\u0631 <code>\/etc\/ssh\/sshd_config<\/code> \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0627\u06cc\u062c\u0627\u062f \u0646\u0633\u062e\u0647 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\nsudo cp \/etc\/ssh\/sshd_config \/etc\/ssh\/sshd_config.backup\n\n# \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644\nsudo nano \/etc\/ssh\/sshd_config<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u06cc\u062c\u0627\u062f \u0646\u0633\u062e\u0647 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">cp<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/ssh\/sshd_config<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/ssh\/sshd_config.backup<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/ssh\/sshd_config<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"essential-settings-enable-ssh-security\"><\/div><h3 id=\"gspb_heading-id-gsbp-6bfcc1d\" class=\"gspb_heading gspb_heading-id-gsbp-6bfcc1d \">\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0636\u0631\u0648\u0631\u06cc \u0628\u0631\u0627\u06cc \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0627\u0645\u0646\u06cc\u062a SSH<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-46e036b\" class=\"gspb_text gspb_text-id-gsbp-46e036b \">\u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0647 \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 PAM\nUsePAM yes\n\n# \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a Challenge-Response\nChallengeResponseAuthentication yes\n\n# \u06cc\u0627 \u062f\u0631 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f\u062a\u0631 OpenSSH\nKbdInteractiveAuthentication yes\n\n# \u062a\u0639\u06cc\u06cc\u0646 \u0631\u0648\u0634 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a (\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0648 \u06a9\u062f 2FA)\nAuthenticationMethods keyboard-interactive<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 PAM<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">UsePAM<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a Challenge-Response<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">ChallengeResponseAuthentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u06cc\u0627 \u062f\u0631 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f\u062a\u0631 OpenSSH<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">KbdInteractiveAuthentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u0639\u06cc\u06cc\u0646 \u0631\u0648\u0634 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a (\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0648 \u06a9\u062f 2FA)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">AuthenticationMethods<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">keyboard-interactive<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"different-configuration-scenarios\"><\/div><h3 id=\"gspb_heading-id-gsbp-27768a8\" class=\"gspb_heading gspb_heading-id-gsbp-27768a8 \">\u0633\u0646\u0627\u0631\u06cc\u0648\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-b68ad6d\" class=\"gspb_text gspb_text-id-gsbp-b68ad6d \"><strong>\u0633\u0646\u0627\u0631\u06cc\u0648 1: \u0641\u0642\u0637 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 + 2FA<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>PasswordAuthentication yes\nPubkeyAuthentication no\nAuthenticationMethods keyboard-interactive<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">PasswordAuthentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">PubkeyAuthentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">no<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">AuthenticationMethods<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">keyboard-interactive<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-59f7b2b\" class=\"gspb_text gspb_text-id-gsbp-59f7b2b \"><strong>\u0633\u0646\u0627\u0631\u06cc\u0648 2: \u06a9\u0644\u06cc\u062f SSH \u06cc\u0627 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 + 2FA<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>PasswordAuthentication yes\nPubkeyAuthentication yes\nAuthenticationMethods publickey,keyboard-interactive password,keyboard-interactive<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">PasswordAuthentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">PubkeyAuthentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">AuthenticationMethods<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">publickey,keyboard-interactive<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">password,keyboard-interactive<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-10408a3\" class=\"gspb_text gspb_text-id-gsbp-10408a3 \"><strong>\u0633\u0646\u0627\u0631\u06cc\u0648 3: \u062d\u062a\u0645\u0627\u064b \u06a9\u0644\u06cc\u062f SSH \u0648 2FA (\u0627\u0645\u0646\u200c\u062a\u0631\u06cc\u0646)<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>PasswordAuthentication no\nPubkeyAuthentication yes\nAuthenticationMethods publickey,keyboard-interactive<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">PasswordAuthentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">no<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">PubkeyAuthentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">AuthenticationMethods<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">publickey,keyboard-interactive<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"apply-changes-test-configuration\"><\/div><h3 id=\"gspb_heading-id-gsbp-8107030\" class=\"gspb_heading gspb_heading-id-gsbp-8107030 \">\u0627\u0639\u0645\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0648 \u062a\u0633\u062a \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-130d464\" class=\"gspb_text gspb_text-id-gsbp-130d464 \">\u0642\u0628\u0644 \u0627\u0632 \u0631\u06cc\u200c\u0627\u0633\u062a\u0627\u0631\u062a \u0633\u0631\u0648\u06cc\u0633\u060c \u0647\u0645\u06cc\u0634\u0647 syntax \u0631\u0627 \u0686\u06a9 \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0631\u0633\u06cc \u0635\u062d\u062a \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\nsudo sshd -t\n\n# \u0627\u06af\u0631 \u062e\u0637\u0627\u06cc\u06cc \u0646\u0628\u0648\u062f\u060c \u0631\u06cc\u200c\u0627\u0633\u062a\u0627\u0631\u062a \u0633\u0631\u0648\u06cc\u0633\nsudo systemctl restart sshd\n\n# \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a \u0633\u0631\u0648\u06cc\u0633\nsudo systemctl status sshd<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0635\u062d\u062a \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sshd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-t<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u06af\u0631 \u062e\u0637\u0627\u06cc\u06cc \u0646\u0628\u0648\u062f\u060c \u0631\u06cc\u200c\u0627\u0633\u062a\u0627\u0631\u062a \u0633\u0631\u0648\u06cc\u0633<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">restart<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sshd<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a \u0633\u0631\u0648\u06cc\u0633<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">status<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sshd<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-9b86e93\" id=\"gspb_container-id-gsbp-9b86e93\">\n<div id=\"gspb_text-id-gsbp-d1241b3\" class=\"gspb_text gspb_text-id-gsbp-d1241b3 \">\ud83d\udca1 <strong>\u0647\u0634\u062f\u0627\u0631 \u0645\u0647\u0645:<\/strong> \u0642\u0628\u0644 \u0627\u0632 \u0628\u0633\u062a\u0646 \u0646\u0634\u0633\u062a SSH \u0641\u0639\u0644\u06cc\u060c \u062d\u062a\u0645\u0627\u064b \u06cc\u06a9 \u0646\u0634\u0633\u062a \u062c\u062f\u06cc\u062f \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u0639\u0645\u0644\u06a9\u0631\u062f \u0631\u0627 \u062a\u0633\u062a \u06a9\u0646\u06cc\u062f. \u0627\u06af\u0631 \u0645\u0634\u06a9\u0644\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a\u060c \u0627\u0632 \u0646\u0634\u0633\u062a \u0642\u0628\u0644\u06cc \u0628\u0631\u0627\u06cc \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0646 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-image gspb_image gspb_image-id-gsbp-c126acf\" id=\"gspb_image-id-gsbp-c126acf\"><img decoding=\"async\" src=\"https:\/\/webdade.com\/blog\/wp-content\/uploads\/2025\/11\/two-factor-authentication-ssh-linux-serve2r-min_11zon.webp\" data-src=\"\" alt=\"\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\" loading=\"lazy\" width=\"910\" height=\"492\"\/><\/div>\n\n\n\n<div id=\"setup-two-factor-authentication-system-users\"><\/div><h2 id=\"gspb_heading-id-gsbp-b2149a9\" class=\"gspb_heading gspb_heading-id-gsbp-b2149a9 \">\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc 2FA \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0633\u06cc\u0633\u062a\u0645<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-ec4ff9a\" class=\"gspb_text gspb_text-id-gsbp-ec4ff9a \">\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\u200c\u0647\u0627\u06cc \u0633\u0645\u062a \u0633\u0631\u0648\u0631 \u062a\u0645\u0627\u0645 \u0634\u062f\u060c \u0627\u0645\u0627 \u0647\u0646\u0648\u0632 \u0647\u06cc\u0686 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0627\u0632 2FA \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f. \u0647\u0631 \u06a9\u0627\u0631\u0628\u0631 \u0628\u0627\u06cc\u062f \u06cc\u06a9 \u0628\u0627\u0631 \u062f\u0633\u062a\u0648\u0631 \u0645\u062e\u0635\u0648\u0635\u06cc \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u062f \u062a\u0627 \u06a9\u0644\u06cc\u062f \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u062e\u0648\u062f \u0631\u0627 \u062a\u0648\u0644\u06cc\u062f \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0627 \u06af\u0648\u0634\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644\u0634 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0631\u0642\u0631\u0627\u0631 \u06a9\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u06cc\u06a9 \u06a9\u062f QR \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0628\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 Authenticator \u0627\u0633\u06a9\u0646 \u0634\u0648\u062f\u060c \u0647\u0645\u0686\u0646\u06cc\u0646 \u0686\u0646\u062f \u06a9\u062f \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0628\u0647 \u0634\u0645\u0627 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0645\u0648\u0627\u0642\u0639 \u0627\u0636\u0637\u0631\u0627\u0631\u06cc (\u0645\u062b\u0644 \u06af\u0645 \u0634\u062f\u0646 \u06af\u0648\u0634\u06cc) \u0628\u0627\u06cc\u062f \u062f\u0631 \u062c\u0627\u06cc \u0627\u0645\u0646\u06cc \u0630\u062e\u06cc\u0631\u0647 \u0634\u0648\u0646\u062f. \u0627\u06cc\u0646 \u0641\u0631\u0622\u06cc\u0646\u062f \u0628\u0631\u0627\u06cc \u0647\u0631 \u06a9\u0627\u0631\u0628\u0631 \u0633\u0631\u0648\u0631 \u0628\u0627\u06cc\u062f \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u0627\u0646\u062c\u0627\u0645 \u0634\u0648\u062f \u0648 \u0641\u0642\u0637 2-3 \u062f\u0642\u06cc\u0642\u0647 \u0632\u0645\u0627\u0646 \u0645\u06cc\u200c\u0628\u0631\u062f.<\/div>\n\n\n\n<div id=\"run-google-authenticator-command\"><\/div><h3 id=\"gspb_heading-id-gsbp-70bc9fa\" class=\"gspb_heading gspb_heading-id-gsbp-70bc9fa \">\u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 google-authenticator<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-197f9cc\" class=\"gspb_text gspb_text-id-gsbp-197f9cc \">\u0647\u0631 \u06a9\u0627\u0631\u0628\u0631\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u062f \u0627\u0632 SSH two-factor authentication \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f \u0628\u0627\u06cc\u062f \u0627\u06cc\u0646 \u0645\u0631\u0627\u062d\u0644 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0648\u0631\u0648\u062f \u0628\u0647 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc\nsu - username\n\n# \u06cc\u0627 \u0645\u0633\u062a\u0642\u06cc\u0645\u0627\u064b \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062e\u0648\u062f \u06a9\u0627\u0631\u0628\u0631\ngoogle-authenticator<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0648\u0631\u0648\u062f \u0628\u0647 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">su<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">-<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">username<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u06cc\u0627 \u0645\u0633\u062a\u0642\u06cc\u0645\u0627\u064b \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062e\u0648\u062f \u06a9\u0627\u0631\u0628\u0631<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">google-authenticator<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-1c1ceeb\" class=\"gspb_text gspb_text-id-gsbp-1c1ceeb \">\u062f\u0633\u062a\u0648\u0631 \u0628\u0627\u0644\u0627 \u06cc\u06a9 \u0633\u0631\u06cc \u0633\u0648\u0627\u0644 \u0645\u06cc\u200c\u067e\u0631\u0633\u062f:<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-57d7b51\" class=\"gspb_text gspb_text-id-gsbp-57d7b51 \">\u2753 <strong>\u0633\u0648\u0627\u0644 1: Do you want authentication tokens to be time-based?<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>Do you want authentication tokens to be time-based (y\/n) y<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">Do<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">you<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">want<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">authentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">tokens<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">to<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">be<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">time-based<\/span><span style=\"color: #F6F6F4\"> (y\/n) y<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-56de62d\" class=\"gspb_text gspb_text-id-gsbp-56de62d \">\u067e\u0627\u0633\u062e <code>y<\/code> \u0628\u062f\u0647\u06cc\u062f. \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f TOTP (Time-based One-Time Password) \u0631\u0627 \u0641\u0639\u0627\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/div>\n\n\n\n<div id=\"scan-qr-code-save-security-information\"><\/div><h3 id=\"gspb_heading-id-gsbp-fecc5d1\" class=\"gspb_heading gspb_heading-id-gsbp-fecc5d1 \">\u0627\u0633\u06a9\u0646 \u06a9\u062f QR \u0648 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-f6498d5\" class=\"gspb_text gspb_text-id-gsbp-f6498d5 \">\u0628\u0639\u062f \u0627\u0632 \u062a\u0623\u06cc\u06cc\u062f\u060c \u06cc\u06a9 \u06a9\u062f QR \u062f\u0631 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>https:\/\/www.google.com\/chart?chs=200x200&amp;chld=M|0&amp;cht=qr&amp;chl=...\n\nYour new secret key is: ABCD1234EFGH5678IJKL\nYour verification code is 123456\nYour emergency scratch codes are:\n  12345678\n  87654321\n  11223344\n  44332211\n  55667788<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">https:\/\/www.google.com\/chart?chs<\/span><span style=\"color: #F6F6F4\">=200x200&amp;<\/span><span style=\"color: #BF9EEE\">chld<\/span><span style=\"color: #F286C4\">=<\/span><span style=\"color: #E7EE98\">M<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #E7EE98\">0<\/span><span style=\"color: #F6F6F4\">&amp;<\/span><span style=\"color: #BF9EEE\">cht<\/span><span style=\"color: #F286C4\">=<\/span><span style=\"color: #E7EE98\">qr<\/span><span style=\"color: #F6F6F4\">&amp;<\/span><span style=\"color: #BF9EEE\">chl<\/span><span style=\"color: #F286C4\">=<\/span><span style=\"color: #E7EE98\">...<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Your<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">new<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">secret<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">key<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">is:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ABCD1234EFGH5678IJKL<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Your<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">verification<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">code<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">is<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">123456<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Your<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">emergency<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">scratch<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">codes<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">are:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">12345678<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">87654321<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">11223344<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">44332211<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">55667788<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-6c62fee\" class=\"gspb_text gspb_text-id-gsbp-6c62fee \">\ud83d\udca1 <strong>\u0645\u0631\u0627\u062d\u0644 \u0636\u0631\u0648\u0631\u06cc:<\/strong><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0627\u0633\u06a9\u0646 \u06a9\u062f QR:<\/strong> \u0628\u0631\u0646\u0627\u0645\u0647 Google Authenticator \u06cc\u0627 Microsoft Authenticator \u0631\u0627 \u0631\u0648\u06cc \u06af\u0648\u0634\u06cc \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u06a9\u062f \u0631\u0627 \u0627\u0633\u06a9\u0646 \u06a9\u0646\u06cc\u062f<\/li>\n\n\n\n<li><strong>\u0630\u062e\u06cc\u0631\u0647 Secret Key:<\/strong> \u0627\u06cc\u0646 \u06a9\u0644\u06cc\u062f \u0631\u0627 \u062f\u0631 \u062c\u0627\u06cc \u0627\u0645\u0646\u06cc (\u0645\u062b\u0644 \u06cc\u06a9 \u0645\u062f\u06cc\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631) \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f. \u0627\u06af\u0631 \u06af\u0648\u0634\u06cc \u0631\u0627 \u06af\u0645 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0627 \u0627\u06cc\u0646 \u06a9\u0644\u06cc\u062f \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f 2FA \u0631\u0627 \u062f\u0648\u0628\u0627\u0631\u0647 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f<\/li>\n\n\n\n<li><strong>\u0630\u062e\u06cc\u0631\u0647 Scratch Codes:<\/strong> \u0627\u06cc\u0646 \u06a9\u062f\u0647\u0627\u06cc \u06cc\u06a9\u200c\u0628\u0627\u0631 \u0645\u0635\u0631\u0641 \u0628\u0631\u0627\u06cc \u0645\u0648\u0627\u0642\u0639 \u0627\u0636\u0637\u0631\u0627\u0631\u06cc \u0627\u0633\u062a. \u0647\u0631 \u06a9\u062f \u0641\u0642\u0637 \u06cc\u06a9 \u0628\u0627\u0631 \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0633\u062a<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-c62d3c4\" class=\"gspb_text gspb_text-id-gsbp-c62d3c4 \">\u2753 <strong>\u0633\u0648\u0627\u0644 2: Do you want me to update your &#8220;~\/.google_authenticator&#8221; file?<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>Do you want me to update your \"\/home\/username\/.google_authenticator\" file? (y\/n) y<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">Do<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">you<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">want<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">me<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">to<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">update<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">your<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">\/home\/username\/.google_authenticator<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">file?<\/span><span style=\"color: #F6F6F4\"> (y\/n) y<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-67803f0\" class=\"gspb_text gspb_text-id-gsbp-67803f0 \">\u067e\u0627\u0633\u062e <code>y<\/code> \u0628\u062f\u0647\u06cc\u062f \u062a\u0627 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0630\u062e\u06cc\u0631\u0647 \u0634\u0648\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-c07a2fc\" class=\"gspb_text gspb_text-id-gsbp-c07a2fc \"><strong>\u0633\u0648\u0627\u0644 3: Do you want to disallow multiple uses of the same token?<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>Do you want to disallow multiple uses of the same authentication token? (y\/n) y<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">Do<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">you<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">want<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">to<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">disallow<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">multiple<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">uses<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">of<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">the<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">same<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">authentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">token?<\/span><span style=\"color: #F6F6F4\"> (y\/n) y<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-74906f4\" class=\"gspb_text gspb_text-id-gsbp-74906f4 \">\u067e\u0627\u0633\u062e <code>y<\/code> \u0628\u062f\u0647\u06cc\u062f. \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062d\u0645\u0644\u0627\u062a replay \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-6950159\" class=\"gspb_text gspb_text-id-gsbp-6950159 \">\u2753 <strong>\u0633\u0648\u0627\u0644 4: Increase the time window?<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>By default, tokens are good for 30 seconds. Do you want to increase the window to 4 minutes? (y\/n) n<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">By<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">default,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">tokens<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">are<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">good<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">for<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">30<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">seconds.<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Do<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">you<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">want<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">to<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">increase<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">the<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">window<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">to<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">4<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">minutes?<\/span><span style=\"color: #F6F6F4\"> (y\/n) n<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-2ac00db\" class=\"gspb_text gspb_text-id-gsbp-2ac00db \">\u067e\u0627\u0633\u062e <code>n<\/code> \u0628\u062f\u0647\u06cc\u062f. \u067e\u0646\u062c\u0631\u0647 \u0632\u0645\u0627\u0646\u06cc \u0637\u0648\u0644\u0627\u0646\u06cc\u200c\u062a\u0631 \u0627\u0645\u0646\u06cc\u062a \u0631\u0627 \u06a9\u0627\u0647\u0634 \u0645\u06cc\u200c\u062f\u0647\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-2eec144\" class=\"gspb_text gspb_text-id-gsbp-2eec144 \">\u2753 <strong>\u0633\u0648\u0627\u0644 5: Enable rate limiting?<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>Do you want to enable rate-limiting? (y\/n) y<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">Do<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">you<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">want<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">to<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">enable<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">rate-limiting?<\/span><span style=\"color: #F6F6F4\"> (y\/n) y<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-47c02a1\" class=\"gspb_text gspb_text-id-gsbp-47c02a1 \">\u067e\u0627\u0633\u062e <code>y<\/code> \u0628\u062f\u0647\u06cc\u062f. \u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc \u062d\u0645\u0644\u0627\u062a \u0628\u0631\u0648\u062a \u0641\u0648\u0631\u0633 \u0628\u0647 \u06a9\u062f\u0647\u0627\u06cc 2FA \u0631\u0627 \u0645\u062d\u062f\u0648\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f (\u062d\u062f\u0627\u06a9\u062b\u0631 3 \u062a\u0644\u0627\u0634 \u0647\u0631 30 \u062b\u0627\u0646\u06cc\u0647).<\/div>\n\n\n\n<div id=\"settings-file-storage-location\"><\/div><h3 id=\"gspb_heading-id-gsbp-bb39f1b\" class=\"gspb_heading gspb_heading-id-gsbp-bb39f1b \">\u0645\u06a9\u0627\u0646 \u0630\u062e\u06cc\u0631\u0647\u200c\u0633\u0627\u0632\u06cc \u0641\u0627\u06cc\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-e1270ca\" class=\"gspb_text gspb_text-id-gsbp-e1270ca \">\u062a\u0646\u0638\u06cc\u0645\u0627\u062a 2FA \u0647\u0631 \u06a9\u0627\u0631\u0628\u0631 \u062f\u0631 \u0641\u0627\u06cc\u0644 <code>~\/.google_authenticator<\/code> \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u062d\u062a\u0648\u0627\u06cc \u0641\u0627\u06cc\u0644\ncat ~\/.google_authenticator<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u062d\u062a\u0648\u0627\u06cc \u0641\u0627\u06cc\u0644<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">cat<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~\/.google_authenticator<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-9bc7034\" class=\"gspb_text gspb_text-id-gsbp-9bc7034 \">\u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0634\u0627\u0645\u0644:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u06a9\u0644\u06cc\u062f \u0645\u062e\u0641\u06cc (Secret Key)<\/li>\n\n\n\n<li>\u06a9\u062f\u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646<\/li>\n\n\n\n<li>\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0632\u0645\u0627\u0646 \u0648 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-b26e045\" class=\"gspb_text gspb_text-id-gsbp-b26e045 \"><strong>\ud83d\udca1 \u0646\u06a9\u062a\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc:<\/strong> \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0645\u062d\u062f\u0648\u062f \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>chmod 400 ~\/.google_authenticator<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">chmod<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">400<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~\/.google_authenticator<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"test-validate-two-factor-authentication-functionality\"><\/div><h2 id=\"gspb_heading-id-gsbp-5db6f59\" class=\"gspb_heading gspb_heading-id-gsbp-5db6f59 \">\u062a\u0633\u062a \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0639\u0645\u0644\u06a9\u0631\u062f 2FA<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-5358b2f\" class=\"gspb_text gspb_text-id-gsbp-5358b2f \">\u0628\u0639\u062f \u0627\u0632 \u0627\u0646\u062c\u0627\u0645 \u062a\u0645\u0627\u0645 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\u200c\u0647\u0627\u060c \u062d\u0627\u0644\u0627 \u0648\u0642\u062a \u0622\u0646 \u0631\u0633\u06cc\u062f\u0647 \u06a9\u0647 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u0645 \u0647\u0645\u0647 \u0686\u06cc\u0632 \u062f\u0631\u0633\u062a \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0628\u0627\u06cc\u062f \u0627\u0632 \u06cc\u06a9 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u062c\u062f\u06cc\u062f \u0627\u0642\u062f\u0627\u0645 \u0628\u0647 \u0648\u0631\u0648\u062f \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0628\u06cc\u0646\u06cc\u062f \u0622\u06cc\u0627 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0628\u062a\u062f\u0627 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0648 \u0633\u067e\u0633 \u06a9\u062f 2FA \u0631\u0627 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f \u06cc\u0627 \u062e\u06cc\u0631. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0627\u06cc\u062f \u06a9\u062f\u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0631\u0627 \u0627\u0645\u062a\u062d\u0627\u0646 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u062f\u0631 \u0634\u0631\u0627\u06cc\u0637 \u0627\u0636\u0637\u0631\u0627\u0631\u06cc \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0647\u0633\u062a\u0646\u062f. \u0627\u06af\u0631 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0645\u0634\u06a9\u0644\u06cc \u067e\u06cc\u0634 \u0622\u0645\u062f\u060c \u0647\u0646\u0648\u0632 \u0646\u0634\u0633\u062a SSH \u0642\u0628\u0644\u06cc \u0634\u0645\u0627 \u0641\u0639\u0627\u0644 \u0627\u0633\u062a \u0648 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0631\u0627 \u0627\u0635\u0644\u0627\u062d \u06a9\u0646\u06cc\u062f. \u062a\u0633\u062a \u0635\u062d\u06cc\u062d \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u062c\u0644\u0648\u06cc \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0645\u0634\u06a9\u0644\u0627\u062a \u0622\u06cc\u0646\u062f\u0647 \u0631\u0627 \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f.<\/div>\n\n\n\n<div id=\"test-login-from-another-terminal\"><\/div><h3 id=\"gspb_heading-id-gsbp-cd1437e\" class=\"gspb_heading gspb_heading-id-gsbp-cd1437e \">\u0648\u0631\u0648\u062f \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u0627\u0632 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u062f\u06cc\u06af\u0631<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-ad392c2\" class=\"gspb_text gspb_text-id-gsbp-ad392c2 \">\u0628\u062f\u0648\u0646 \u0628\u0633\u062a\u0646 \u0646\u0634\u0633\u062a \u0641\u0639\u0644\u06cc\u060c \u06cc\u06a9 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u062c\u062f\u06cc\u062f \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>ssh username@your-server-ip<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">ssh<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">username@your-server-ip<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-b23d895\" class=\"gspb_text gspb_text-id-gsbp-b23d895 \">\u0627\u06a9\u0646\u0648\u0646 \u0628\u0627\u06cc\u062f \u0627\u0628\u062a\u062f\u0627 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>username@your-server-ip's password: &#91;\u0631\u0645\u0632 \u0639\u0628\u0648\u0631&#93;<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">username@your-server-ip<\/span><span style=\"color: #62E884\">&#39;s password: &#91;\u0631\u0645\u0632 \u0639\u0628\u0648\u0631&#93;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-0732813\" class=\"gspb_text gspb_text-id-gsbp-0732813 \">\u0633\u067e\u0633 \u06a9\u062f 2FA \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0645\u06cc\u200c\u0634\u0648\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>Verification code: &#91;\u06a9\u062f 6 \u0631\u0642\u0645\u06cc \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647&#93;<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">Verification<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">code:<\/span><span style=\"color: #F6F6F4\"> &#91;\u06a9\u062f <\/span><span style=\"color: #BF9EEE\">6<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\u0631\u0642\u0645\u06cc<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\u0627\u0632<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\u0628\u0631\u0646\u0627\u0645\u0647&#93;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-5693a59\" class=\"gspb_text gspb_text-id-gsbp-5693a59 \">\u0627\u06af\u0631 \u0647\u0631 \u062f\u0648 \u0635\u062d\u06cc\u062d \u0628\u0627\u0634\u0646\u062f\u060c \u0648\u0627\u0631\u062f \u0633\u0631\u0648\u0631 \u0645\u06cc\u200c\u0634\u0648\u06cc\u062f.<\/div>\n\n\n\n<div id=\"test-with-backup-scratch-codes\"><\/div><h3 id=\"gspb_heading-id-gsbp-2d2e2b8\" class=\"gspb_heading gspb_heading-id-gsbp-2d2e2b8 \">\u062a\u0633\u062a \u0628\u0627 \u06a9\u062f\u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 (Scratch Codes)<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-52d1bae\" class=\"gspb_text gspb_text-id-gsbp-52d1bae \">\u0628\u0631\u0627\u06cc \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u0627\u0632 \u0639\u0645\u0644\u06a9\u0631\u062f \u0635\u062d\u06cc\u062d\u060c \u06cc\u06a9\u06cc \u0627\u0632 \u06a9\u062f\u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0631\u0627 \u0627\u0645\u062a\u062d\u0627\u0646 \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>ssh username@your-server-ip\n# \u0628\u0639\u062f \u0627\u0632 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631\nVerification code: 12345678<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">ssh<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">username@your-server-ip<\/span><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0639\u062f \u0627\u0632 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Verification<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">code:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">12345678<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-30252ef\" class=\"gspb_text gspb_text-id-gsbp-30252ef \">\ud83d\udca1 <strong>\u062a\u0648\u062c\u0647:<\/strong> \u0647\u0631 \u06a9\u062f \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0641\u0642\u0637 \u06cc\u06a9 \u0628\u0627\u0631 \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0633\u062a. \u0628\u0639\u062f \u0627\u0632 \u0645\u0635\u0631\u0641\u060c \u0622\u0646 \u0631\u0627 \u0627\u0632 \u0644\u06cc\u0633\u062a \u062e\u0648\u062f \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"check-authentication-logs\"><\/div><h3 id=\"gspb_heading-id-gsbp-9d0da9d\" class=\"gspb_heading gspb_heading-id-gsbp-9d0da9d \">\u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af\u200c\u0647\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-4640a93\" class=\"gspb_text gspb_text-id-gsbp-4640a93 \">\u0628\u0631\u0627\u06cc \u0631\u0641\u0639 \u0627\u0634\u06a9\u0627\u0644\u060c \u0644\u0627\u06af\u200c\u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u062f\u0631 Ubuntu\/Debian\nsudo tail -f \/var\/log\/auth.log\n\n# \u062f\u0631 CentOS\/RHEL\nsudo tail -f \/var\/log\/secure<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u062f\u0631 Ubuntu\/Debian<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">tail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-f<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/auth.log<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062f\u0631 CentOS\/RHEL<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">tail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-f<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/secure<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-1e50810\" class=\"gspb_text gspb_text-id-gsbp-1e50810 \">\ud83d\udcdd \u067e\u06cc\u0627\u0645\u200c\u0647\u0627\u06cc \u0645\u0648\u0641\u0642:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sshd&#91;12345&#93;: Accepted keyboard-interactive\/pam for username from 192.168.1.1<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sshd&#91;12345&#93;:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Accepted<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">keyboard-interactive\/pam<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">for<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">username<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">from<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">192.168<\/span><span style=\"color: #E7EE98\">.1.1<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-bb0ab7a\" class=\"gspb_text gspb_text-id-gsbp-bb0ab7a \">\ud83d\udcdd \u067e\u06cc\u0627\u0645\u200c\u0647\u0627\u06cc \u062e\u0637\u0627:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sshd&#91;12345&#93;: pam_google_authenticator(sshd:auth): Invalid verification code<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sshd&#91;12345&#93;:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">pam_google_authenticator<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\">sshd:auth<\/span><span style=\"color: #F6F6F4\">)<\/span><span style=\"color: #E7EE98\">:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Invalid<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">verification<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">code<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"emergency-scenarios-access-recovery-management\"><\/div><h2 id=\"gspb_heading-id-gsbp-79f8e42\" class=\"gspb_heading gspb_heading-id-gsbp-79f8e42 \">\u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0646\u0627\u0631\u06cc\u0648\u0647\u0627\u06cc \u0627\u0636\u0637\u0631\u0627\u0631\u06cc \u0648 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-eb097b2\" class=\"gspb_text gspb_text-id-gsbp-eb097b2 \">\u0647\u06cc\u0686 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0645\u0646\u06cc\u062a\u06cc \u06a9\u0627\u0645\u0644 \u0646\u06cc\u0633\u062a \u0645\u06af\u0631 \u0627\u06cc\u0646\u06a9\u0647 \u0628\u0631\u0627\u06cc \u0634\u0631\u0627\u06cc\u0637 \u0627\u0636\u0637\u0631\u0627\u0631\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0631\u06cc\u0632\u06cc \u0634\u062f\u0647 \u0628\u0627\u0634\u062f. \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u06af\u0648\u0634\u06cc \u0634\u0645\u0627 \u062e\u0631\u0627\u0628 \u0634\u0648\u062f\u060c \u0628\u0631\u0646\u0627\u0645\u0647 Authenticator \u067e\u0627\u06a9 \u0634\u0648\u062f \u06cc\u0627 \u0628\u0647 \u0647\u0631 \u062f\u0644\u06cc\u0644\u06cc \u0646\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u06a9\u062f 2FA \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u062f\u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u060c \u062f\u0633\u062a\u0631\u0633\u06cc \u0627\u0632 \u06a9\u0646\u0633\u0648\u0644\u060c \u06cc\u0627 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0628\u0627 Secret Key \u062f\u0648\u0628\u0627\u0631\u0647 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0648\u0635\u0644 \u0634\u0648\u06cc\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0631\u0648\u0634\u200c\u0647\u0627\u06cc\u06cc \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0642\u0641\u0644 \u0634\u062f\u0646 \u06a9\u0627\u0645\u0644 \u0633\u0631\u0648\u0631\u060c \u0645\u0627\u0646\u0646\u062f \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0627\u0636\u0637\u0631\u0627\u0631\u06cc \u0648 \u062a\u0647\u06cc\u0647 \u0646\u0633\u062e\u0647 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a 2FA \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f \u062a\u0627 \u0647\u0645\u06cc\u0634\u0647 \u0631\u0627\u0647 \u0628\u0631\u06af\u0634\u062a\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/div>\n\n\n\n<div id=\"lost-phone-no-access-authenticator-app\"><\/div><h3 id=\"gspb_heading-id-gsbp-4d73ee4\" class=\"gspb_heading gspb_heading-id-gsbp-4d73ee4 \">\u06af\u0645 \u0634\u062f\u0646 \u06af\u0648\u0634\u06cc \u06cc\u0627 \u0639\u062f\u0645 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 Authenticator<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-54b712c\" class=\"gspb_text gspb_text-id-gsbp-54b712c \">\u0627\u06af\u0631 \u06af\u0648\u0634\u06cc \u062e\u0648\u062f \u0631\u0627 \u06af\u0645 \u06a9\u0631\u062f\u06cc\u062f \u06cc\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 Authenticator \u0631\u0627 \u062d\u0630\u0641 \u06a9\u0631\u062f\u06cc\u062f\u060c \u0633\u0647 \u0631\u0627\u0647\u200c\u062d\u0644 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0631\u0627\u0647\u200c\u062d\u0644 1: \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u062f\u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646<\/strong><\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-fab5961\" class=\"gspb_text gspb_text-id-gsbp-fab5961 \">\u06a9\u062f\u0647\u0627\u06cc \u06cc\u06a9\u200c\u0628\u0627\u0631 \u0645\u0635\u0631\u0641\u06cc \u06a9\u0647 \u0647\u0646\u06af\u0627\u0645 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0631\u062f\u06cc\u062f \u0631\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>ssh username@server\nVerification code: &#91;\u06a9\u062f \u067e\u0634\u062a\u06cc\u0628\u0627\u0646&#93;<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">ssh<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">username@server<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Verification<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">code:<\/span><span style=\"color: #F6F6F4\"> &#91;\u06a9\u062f <\/span><span style=\"color: #E7EE98\">\u067e\u0634\u062a\u06cc\u0628\u0627\u0646&#93;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0631\u0627\u0647\u200c\u062d\u0644 2: \u062f\u0633\u062a\u0631\u0633\u06cc \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06a9\u0646\u0633\u0648\u0644<\/strong><\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-f80876b\" class=\"gspb_text gspb_text-id-gsbp-f80876b \">\u0627\u06af\u0631 \u0628\u0647 \u06a9\u0646\u0633\u0648\u0644 \u0641\u06cc\u0632\u06cc\u06a9\u06cc \u06cc\u0627 \u06a9\u0646\u0633\u0648\u0644 \u0627\u0631\u0627\u0626\u0647\u200c\u062f\u0647\u0646\u062f\u0647 \u0647\u0627\u0633\u062a\u06cc\u0646\u06af \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0631\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0648\u0631\u0648\u062f \u0627\u0632 \u06a9\u0646\u0633\u0648\u0644\n# \u062d\u0630\u0641 \u0645\u0648\u0642\u062a \u0641\u0627\u06cc\u0644 2FA\nmv ~\/.google_authenticator ~\/.google_authenticator.backup\n\n# \u06cc\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0645\u0648\u0642\u062a \u0645\u0627\u0698\u0648\u0644 PAM\nsudo nano \/etc\/pam.d\/sshd\n# \u06a9\u0627\u0645\u0646\u062a \u06a9\u0631\u062f\u0646 \u062e\u0637 \u0645\u0627\u0698\u0648\u0644\n# auth required pam_google_authenticator.so\n\n# \u0631\u06cc\u200c\u0627\u0633\u062a\u0627\u0631\u062a SSH\nsudo systemctl restart sshd<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0648\u0631\u0648\u062f \u0627\u0632 \u06a9\u0646\u0633\u0648\u0644<\/span><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062d\u0630\u0641 \u0645\u0648\u0642\u062a \u0641\u0627\u06cc\u0644 2FA<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">mv<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~\/.google_authenticator<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~\/.google_authenticator.backup<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u06cc\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0645\u0648\u0642\u062a \u0645\u0627\u0698\u0648\u0644 PAM<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/pam.d\/sshd<\/span><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u06a9\u0627\u0645\u0646\u062a \u06a9\u0631\u062f\u0646 \u062e\u0637 \u0645\u0627\u0698\u0648\u0644<\/span><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># auth required pam_google_authenticator.so<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0631\u06cc\u200c\u0627\u0633\u062a\u0627\u0631\u062a SSH<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">restart<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sshd<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0631\u0627\u0647\u200c\u062d\u0644 3: \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0628\u0627 Secret Key<\/strong><\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-de4e815\" class=\"gspb_text gspb_text-id-gsbp-de4e815 \">\u0627\u06af\u0631 Secret Key \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f:<\/div>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u0628\u0631\u0646\u0627\u0645\u0647 Authenticator \u0631\u0627 \u0631\u0648\u06cc \u06af\u0648\u0634\u06cc \u062c\u062f\u06cc\u062f \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f<\/li>\n\n\n\n<li>\u06af\u0632\u06cc\u0646\u0647 &#8220;Enter a setup key&#8221; \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f<\/li>\n\n\n\n<li>Secret Key \u0630\u062e\u06cc\u0631\u0647\u200c\u0634\u062f\u0647 \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f<\/li>\n\n\n\n<li>\u062d\u0633\u0627\u0628 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0645\u06cc\u200c\u0634\u0648\u062f<\/li>\n<\/ol>\n\n\n\n<div id=\"reset-2fa-for-user\"><\/div><h3 id=\"gspb_heading-id-gsbp-bb59cd2\" class=\"gspb_heading gspb_heading-id-gsbp-bb59cd2 \">\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f 2FA \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-1eab394\" class=\"gspb_text gspb_text-id-gsbp-1eab394 \">\u0627\u06af\u0631 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0631\u06cc\u0633\u062a \u06a9\u0627\u0645\u0644 \u062f\u0627\u0634\u062a\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u0631\u0648\u0631 (\u0627\u0632 \u06a9\u0646\u0633\u0648\u0644 \u06cc\u0627 \u0646\u0634\u0633\u062a \u0645\u0648\u062c\u0648\u062f)\nsu - username\n\n# \u062d\u0630\u0641 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0642\u0628\u0644\u06cc\nrm ~\/.google_authenticator\n\n# \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f\ngoogle-authenticator<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u0631\u0648\u0631 (\u0627\u0632 \u06a9\u0646\u0633\u0648\u0644 \u06cc\u0627 \u0646\u0634\u0633\u062a \u0645\u0648\u062c\u0648\u062f)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">su<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">-<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">username<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062d\u0630\u0641 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0642\u0628\u0644\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">rm<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~\/.google_authenticator<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">google-authenticator<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"create-emergency-user-account\"><\/div><h3 id=\"gspb_heading-id-gsbp-aab71a6\" class=\"gspb_heading gspb_heading-id-gsbp-aab71a6 \">\u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0627\u0636\u0637\u0631\u0627\u0631\u06cc<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-f184acf\" class=\"gspb_text gspb_text-id-gsbp-f184acf \">\u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0642\u0641\u0644 \u0634\u062f\u0646 \u06a9\u0627\u0645\u0644 \u0633\u0631\u0648\u0631\u060c \u06cc\u06a9 \u062d\u0633\u0627\u0628 \u0628\u062f\u0648\u0646 2FA \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u0627\u0636\u0637\u0631\u0627\u0631\u06cc\nsudo useradd -m -s \/bin\/bash emergency_user\nsudo passwd emergency_user\n\n# \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0628\u0647 \u06af\u0631\u0648\u0647 sudo\nsudo usermod -aG sudo emergency_user<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u0627\u0636\u0637\u0631\u0627\u0631\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">useradd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-m<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-s<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/bin\/bash<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">emergency_user<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">passwd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">emergency_user<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0628\u0647 \u06af\u0631\u0648\u0647 sudo<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">usermod<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-aG<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">emergency_user<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-db60481\" class=\"gspb_text gspb_text-id-gsbp-db60481 \">\ud83d\udca1 <strong>\u0646\u06a9\u062a\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc:<\/strong> \u0627\u06cc\u0646 \u06a9\u0627\u0631\u0628\u0631 \u0631\u0627 \u0641\u0642\u0637 \u0627\u0632 IP \u062e\u0627\u0635 \u06cc\u0627 \u0627\u0632 \u06a9\u0646\u0633\u0648\u0644 \u0642\u0627\u0628\u0644 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u062f\u0631 \/etc\/ssh\/sshd_config\nMatch User emergency_user\n    AuthenticationMethods password\n    AllowUsers emergency_user\n    # \u0645\u062d\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u0628\u0647 IP \u062e\u0627\u0635\n    # Match User emergency_user Address 192.168.1.100<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u062f\u0631 \/etc\/ssh\/sshd_config<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Match<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">User<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">emergency_user<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">AuthenticationMethods<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">password<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">AllowUsers<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">emergency_user<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># \u0645\u062d\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u0628\u0647 IP \u062e\u0627\u0635<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># Match User emergency_user Address 192.168.1.100<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"backup-2fa-settings\"><\/div><h3 id=\"gspb_heading-id-gsbp-9e86105\" class=\"gspb_heading gspb_heading-id-gsbp-9e86105 \">\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u200c\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a 2FA<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-63afa70\" class=\"gspb_text gspb_text-id-gsbp-63afa70 \">\u0628\u0631\u0627\u06cc \u062a\u0645\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646\u060c \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0631\u0627 backup \u0628\u06af\u06cc\u0631\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0627\u06cc\u062c\u0627\u062f \u067e\u0648\u0634\u0647 backup\nsudo mkdir -p \/root\/2fa-backups\n\n# \u06a9\u067e\u06cc \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0647\u0645\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646\nfor user in $(ls \/home); do\n    if &#91; -f \/home\/$user\/.google_authenticator &#93;; then\n        sudo cp \/home\/$user\/.google_authenticator \/root\/2fa-backups\/$user-google-auth\n    fi\ndone\n\n# \u0641\u0634\u0631\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0648 \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc\ntar -czf \/root\/2fa-backups.tar.gz \/root\/2fa-backups\nopenssl enc -aes-256-cbc -salt -in \/root\/2fa-backups.tar.gz -out \/root\/2fa-backups.tar.gz.enc<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u06cc\u062c\u0627\u062f \u067e\u0648\u0634\u0647 backup<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mkdir<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-p<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/root\/2fa-backups<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u06a9\u067e\u06cc \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0647\u0645\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F286C4\">for<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">in<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">$(<\/span><span style=\"color: #62E884\">ls<\/span><span style=\"color: #E7EE98\"> \/home)<\/span><span style=\"color: #F6F6F4\">; <\/span><span style=\"color: #F286C4\">do<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #F286C4\">if<\/span><span style=\"color: #F6F6F4\"> &#91; <\/span><span style=\"color: #F286C4\">-f<\/span><span style=\"color: #F6F6F4\"> \/home\/<\/span><span style=\"color: #BF9EEE\">$user<\/span><span style=\"color: #F6F6F4\">\/.google_authenticator &#93;; <\/span><span style=\"color: #F286C4\">then<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">cp<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/home\/<\/span><span style=\"color: #BF9EEE\">$user<\/span><span style=\"color: #E7EE98\">\/.google_authenticator<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/root\/2fa-backups\/<\/span><span style=\"color: #BF9EEE\">$user<\/span><span style=\"color: #E7EE98\">-google-auth<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #F286C4\">fi<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F286C4\">done<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0641\u0634\u0631\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0648 \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">tar<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-czf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/root\/2fa-backups.tar.gz<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/root\/2fa-backups<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">openssl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">enc<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-aes-256-cbc<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-salt<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-in<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/root\/2fa-backups.tar.gz<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-out<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/root\/2fa-backups.tar.gz.enc<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"optimization-advanced-security-tips\"><\/div><h2 id=\"gspb_heading-id-gsbp-8f48fbf\" class=\"gspb_heading gspb_heading-id-gsbp-8f48fbf \">\u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc \u0648 \u0646\u06a9\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-a74b4b1\" class=\"gspb_text gspb_text-id-gsbp-a74b4b1 \">\u062a\u0627 \u0627\u06cc\u0646\u062c\u0627 \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 2FA \u06a9\u0627\u0645\u0644\u0627\u064b \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f\u060c \u0627\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0645\u0646\u06cc\u062a \u0631\u0627 \u0686\u0646\u062f \u0628\u0631\u0627\u0628\u0631 \u06a9\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u062a\u06a9\u0646\u06cc\u06a9\u200c\u0647\u0627\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647\u200c\u0627\u06cc \u0631\u0627 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u06a9\u0647 \u0645\u062f\u06cc\u0631\u0627\u0646 \u062d\u0631\u0641\u0647\u200c\u0627\u06cc \u0633\u0631\u0648\u0631 \u0627\u0632 \u0622\u0646\u200c\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u0645\u0627\u0646\u0646\u062f \u062a\u0631\u06a9\u06cc\u0628 \u06a9\u0644\u06cc\u062f SSH \u0628\u0627 2FA \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0633\u0647\u200c\u0644\u0627\u06cc\u0647\u060c \u0645\u062d\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u062a\u0644\u0627\u0634\u200c\u0647\u0627\u06cc \u0648\u0631\u0648\u062f \u0646\u0627\u0645\u0648\u0641\u0642 \u0628\u0627 Fail2ban\u060c \u062f\u0631\u06cc\u0627\u0641\u062a \u0647\u0634\u062f\u0627\u0631 \u0627\u06cc\u0645\u06cc\u0644\u06cc \u0628\u0631\u0627\u06cc \u0647\u0631 \u0648\u0631\u0648\u062f \u0645\u0648\u0641\u0642\u060c \u0648 \u062a\u063a\u06cc\u06cc\u0631 \u067e\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 SSH. \u0627\u06cc\u0646 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0636\u0627\u0641\u06cc \u0646\u0647\u200c\u062a\u0646\u0647\u0627 \u0627\u0645\u0646\u06cc\u062a \u0631\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u0628\u0644\u06a9\u0647 \u0628\u0647 \u0634\u0645\u0627 \u06a9\u0646\u062a\u0631\u0644 \u0648 \u0646\u0638\u0627\u0631\u062a \u0628\u06cc\u0634\u062a\u0631\u06cc \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u0648 \u062d\u062a\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u062d\u0645\u0644\u0627\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0631\u0627 \u0628\u0647\u200c\u0637\u0648\u0631 \u0642\u0627\u0628\u0644\u200c\u062a\u0648\u062c\u0647\u06cc \u06a9\u0627\u0647\u0634 \u062f\u0647\u0646\u062f.<\/div>\n\n\n\n<div id=\"combine-2fa-with-ssh-key-maximum-security\"><\/div><h3 id=\"gspb_heading-id-gsbp-db055f0\" class=\"gspb_heading gspb_heading-id-gsbp-db055f0 \">\u062a\u0631\u06a9\u06cc\u0628 2FA \u0628\u0627 \u06a9\u0644\u06cc\u062f SSH \u0628\u0631\u0627\u06cc \u062d\u062f\u0627\u06a9\u062b\u0631 \u0627\u0645\u0646\u06cc\u062a<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-5e42b77\" class=\"gspb_text gspb_text-id-gsbp-5e42b77 \">\u0627\u0645\u0646\u200c\u062a\u0631\u06cc\u0646 \u0631\u0648\u0634\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0647\u0645\u0632\u0645\u0627\u0646 \u0627\u0632 \u06a9\u0644\u06cc\u062f SSH \u0648 2FA \u0627\u0633\u062a:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u062a\u0648\u0644\u06cc\u062f \u06a9\u0644\u06cc\u062f SSH \u062f\u0631 \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 \u06a9\u0627\u0631\u0628\u0631\nssh-keygen -t ed25519 -C \"user@example.com\"\n\n# \u06a9\u067e\u06cc \u06a9\u0644\u06cc\u062f \u0628\u0647 \u0633\u0631\u0648\u0631\nssh-copy-id -i ~\/.ssh\/id_ed25519.pub username@server\n\n# \u062a\u0646\u0638\u06cc\u0645 sshd_config \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0647\u0631 \u062f\u0648\nsudo nano \/etc\/ssh\/sshd_config<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u0648\u0644\u06cc\u062f \u06a9\u0644\u06cc\u062f SSH \u062f\u0631 \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 \u06a9\u0627\u0631\u0628\u0631<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">ssh-keygen<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-t<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ed25519<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-C<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">user@example.com<\/span><span style=\"color: #DEE492\">&quot;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u06a9\u067e\u06cc \u06a9\u0644\u06cc\u062f \u0628\u0647 \u0633\u0631\u0648\u0631<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">ssh-copy-id<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-i<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~\/.ssh\/id_ed25519.pub<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">username@server<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u0646\u0638\u06cc\u0645 sshd_config \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0647\u0631 \u062f\u0648<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/ssh\/sshd_config<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-2ddd14b\" class=\"gspb_text gspb_text-id-gsbp-2ddd14b \">\u2699  \u062a\u0646\u0638\u06cc\u0645\u0627\u062a:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>PubkeyAuthentication yes\nPasswordAuthentication no\nAuthenticationMethods publickey,keyboard-interactive<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">PubkeyAuthentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">PasswordAuthentication<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">no<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">AuthenticationMethods<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">publickey,keyboard-interactive<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-594038c\" class=\"gspb_text gspb_text-id-gsbp-594038c \">\u0628\u0627 \u0627\u06cc\u0646 \u0631\u0648\u0634\u060c \u06a9\u0627\u0631\u0628\u0631 \u0628\u0627\u06cc\u062f:<\/div>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u06a9\u0644\u06cc\u062f SSH \u0635\u062d\u06cc\u062d \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f (\u0686\u06cc\u0632\u06cc \u06a9\u0647 \u062f\u0627\u0631\u06cc\u062f)<\/li>\n\n\n\n<li>\u06a9\u062f 2FA \u0635\u062d\u06cc\u062d \u0648\u0627\u0631\u062f \u06a9\u0646\u062f (\u0686\u06cc\u0632\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062f\u0627\u0646\u06cc\u062f)<\/li>\n<\/ol>\n\n\n\n<div id=\"limit-failed-login-attempts\"><\/div><h2 id=\"gspb_heading-id-gsbp-030d616\" class=\"gspb_heading gspb_heading-id-gsbp-030d616 \">\u0645\u062d\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u062a\u0639\u062f\u0627\u062f \u062a\u0644\u0627\u0634\u200c\u0647\u0627\u06cc \u0648\u0631\u0648\u062f \u0646\u0627\u0645\u0648\u0641\u0642<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-5d36901\" class=\"gspb_text gspb_text-id-gsbp-5d36901 \">\u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062d\u0645\u0644\u0627\u062a \u0628\u0631\u0648\u062a \u0641\u0648\u0631\u0633 \u0628\u0647 \u06a9\u062f\u0647\u0627\u06cc 2FA:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0646\u0635\u0628 fail2ban\nsudo apt install fail2ban -y\n\n# \u0627\u06cc\u062c\u0627\u062f \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\nsudo nano \/etc\/fail2ban\/jail.local<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0646\u0635\u0628 fail2ban<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">apt<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">fail2ban<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u06cc\u062c\u0627\u062f \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/fail2ban\/jail.local<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-63d2064\" class=\"gspb_text gspb_text-id-gsbp-63d2064 \">\ud83d\udcdd \u0645\u062d\u062a\u0648\u0627\u06cc \u0641\u0627\u06cc\u0644:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&#91;sshd&#93;\nenabled = true\nport = ssh\nfilter = sshd\nlogpath = \/var\/log\/auth.log\nmaxretry = 3\nbantime = 3600\nfindtime = 600<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F6F6F4\">&#91;sshd&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">enabled<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">true<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">port<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ssh<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">filter<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sshd<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">logpath<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/auth.log<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">maxretry<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">3<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">bantime<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">3600<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">findtime<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">600<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-0073540\" class=\"gspb_text gspb_text-id-gsbp-0073540 \">\u2699 \u0627\u06cc\u0646 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0628\u0639\u062f \u0627\u0632 3 \u062a\u0644\u0627\u0634 \u0646\u0627\u0645\u0648\u0641\u0642 \u062f\u0631 10 \u062f\u0642\u06cc\u0642\u0647<\/li>\n\n\n\n<li>IP \u0631\u0627 \u0628\u0631\u0627\u06cc 1 \u0633\u0627\u0639\u062a \u0645\u0633\u062f\u0648\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f<\/li>\n<\/ul>\n\n\n\n<div id=\"setup-email-alerts-successful-logins\"><\/div><h3 id=\"gspb_heading-id-gsbp-bdfa986\" class=\"gspb_heading gspb_heading-id-gsbp-bdfa986 \">\u062a\u0646\u0638\u06cc\u0645 \u0647\u0634\u062f\u0627\u0631\u0647\u0627\u06cc \u0627\u06cc\u0645\u06cc\u0644 \u0628\u0631\u0627\u06cc \u0648\u0631\u0648\u062f\u0647\u0627\u06cc \u0645\u0648\u0641\u0642<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-98ea245\" class=\"gspb_text gspb_text-id-gsbp-98ea245 \">\u0628\u0631\u0627\u06cc \u0622\u06af\u0627\u0647\u06cc \u0627\u0632 \u0648\u0631\u0648\u062f\u0647\u0627\u06cc \u0645\u0648\u0641\u0642:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0627\u06cc\u062c\u0627\u062f \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0647\u0634\u062f\u0627\u0631\nsudo nano \/etc\/ssh\/login-notify.sh<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u06cc\u062c\u0627\u062f \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0647\u0634\u062f\u0627\u0631<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/ssh\/login-notify.sh<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-2d3565d\" class=\"gspb_text gspb_text-id-gsbp-2d3565d \">\u0645\u062d\u062a\u0648\u0627\u06cc \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>#!\/bin\/bash\nif &#91; \"$PAM_TYPE\" = \"open_session\" &#93;; then\n    echo \"SSH Login: $PAM_USER from $PAM_RHOST on $(date)\" | mail -s \"SSH Login Alert\" admin@example.com\nfi<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\">#!\/bin\/bash<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F286C4\">if<\/span><span style=\"color: #F6F6F4\"> &#91; <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #BF9EEE\">$PAM_TYPE<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">open_session<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> &#93;; <\/span><span style=\"color: #F286C4\">then<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #97E1F1\">echo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">SSH Login: <\/span><span style=\"color: #BF9EEE\">$PAM_USER<\/span><span style=\"color: #E7EE98\"> from <\/span><span style=\"color: #BF9EEE\">$PAM_RHOST<\/span><span style=\"color: #E7EE98\"> on $(<\/span><span style=\"color: #62E884\">date<\/span><span style=\"color: #E7EE98\">)<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">mail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-s<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">SSH Login Alert<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">admin@example.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F286C4\">fi<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-a69a0ec\" class=\"gspb_text gspb_text-id-gsbp-a69a0ec \">\u0627\u0641\u0632\u0648\u062f\u0646 \u0628\u0647 PAM:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/pam.d\/sshd\n# \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u062f\u0631 \u0627\u0646\u062a\u0647\u0627\nsession optional pam_exec.so \/etc\/ssh\/login-notify.sh<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/pam.d\/sshd<\/span><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u062f\u0631 \u0627\u0646\u062a\u0647\u0627<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">session<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">optional<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">pam_exec.so<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/ssh\/login-notify.sh<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"use-non-standard-port-ssh\"><\/div><h3 id=\"gspb_heading-id-gsbp-2d308f8\" class=\"gspb_heading gspb_heading-id-gsbp-2d308f8 \">\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0648\u0631\u062a \u063a\u06cc\u0631\u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u0628\u0631\u0627\u06cc SSH<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-15d37d9\" class=\"gspb_text gspb_text-id-gsbp-15d37d9 \">\u062a\u063a\u06cc\u06cc\u0631 \u067e\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 SSH (22) \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u062d\u0645\u0644\u0627\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0631\u0627 \u06a9\u0627\u0647\u0634 \u062f\u0647\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/ssh\/sshd_config\n\n# \u062a\u063a\u06cc\u06cc\u0631 \u067e\u0648\u0631\u062a\nPort 2222\n\n# \u0631\u06cc\u200c\u0627\u0633\u062a\u0627\u0631\u062a \u0633\u0631\u0648\u06cc\u0633\nsudo systemctl restart sshd\n\n# \u0627\u062c\u0627\u0632\u0647 \u067e\u0648\u0631\u062a \u062c\u062f\u06cc\u062f \u062f\u0631 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644\nsudo ufw allow 2222\/tcp\nsudo ufw delete allow 22\/tcp<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/ssh\/sshd_config<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u063a\u06cc\u06cc\u0631 \u067e\u0648\u0631\u062a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Port<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">2222<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0631\u06cc\u200c\u0627\u0633\u062a\u0627\u0631\u062a \u0633\u0631\u0648\u06cc\u0633<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">restart<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sshd<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u062c\u0627\u0632\u0647 \u067e\u0648\u0631\u062a \u062c\u062f\u06cc\u062f \u062f\u0631 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ufw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">allow<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">2222<\/span><span style=\"color: #E7EE98\">\/tcp<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ufw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">delete<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">allow<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">22<\/span><span style=\"color: #E7EE98\">\/tcp<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-409cfcc\" id=\"gspb_container-id-gsbp-409cfcc\">\n<div id=\"gspb_text-id-gsbp-dcae3f2\" class=\"gspb_text gspb_text-id-gsbp-dcae3f2 \">\u26a0 <strong>\u062a\u0648\u062c\u0647:<\/strong> \u0642\u0628\u0644 \u0627\u0632 \u062d\u0630\u0641 \u0642\u0627\u0646\u0648\u0646 \u067e\u0648\u0631\u062a 22\u060c \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u067e\u0648\u0631\u062a \u062c\u062f\u06cc\u062f \u0648\u0635\u0644 \u0634\u0648\u06cc\u062f.<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-image gspb_image gspb_image-id-gsbp-556ad21\" id=\"gspb_image-id-gsbp-556ad21\"><img decoding=\"async\" src=\"https:\/\/webdade.com\/blog\/wp-content\/uploads\/2025\/11\/two-factor-authentication-ssh-linux-server4-min_11zon.webp\" data-src=\"\" alt=\"2FA SSH\" loading=\"lazy\" width=\"910\" height=\"492\"\/><\/div>\n\n\n\n<div id=\"troubleshooting-common-problems-2fa-implementatio\"><\/div><h2 id=\"gspb_heading-id-gsbp-ae396c6\" class=\"gspb_heading gspb_heading-id-gsbp-ae396c6 \">\u0639\u06cc\u0628\u200c\u06cc\u0627\u0628\u06cc \u0645\u0634\u06a9\u0644\u0627\u062a \u0631\u0627\u06cc\u062c \u062f\u0631 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc 2FA<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-4d4a7d3\" class=\"gspb_text gspb_text-id-gsbp-4d4a7d3 \">\u062f\u0631 \u0641\u0631\u0622\u06cc\u0646\u062f \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc 2FA\u060c \u0628\u0631\u062e\u06cc \u0645\u0634\u06a9\u0644\u0627\u062a \u062a\u06a9\u0631\u0627\u0631\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u0646\u062f \u06a9\u0647 \u0628\u06cc\u0634\u062a\u0631 \u0645\u062f\u06cc\u0631\u0627\u0646 \u0633\u0631\u0648\u0631 \u0628\u0627 \u0622\u0646\u200c\u0647\u0627 \u0645\u0648\u0627\u062c\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u06a9\u062f 2FA \u0642\u0628\u0648\u0644 \u0646\u0634\u0648\u062f\u060c \u067e\u06cc\u0627\u0645 &#8220;Permission denied&#8221; \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0646\u06cc\u062f\u060c \u06cc\u0627 \u062d\u062a\u06cc \u06a9\u0627\u0645\u0644\u0627\u064b \u0627\u0632 \u0633\u0631\u0648\u0631 \u0642\u0641\u0644 \u0634\u0648\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0631\u0627\u06cc\u062c\u200c\u062a\u0631\u06cc\u0646 \u062e\u0637\u0627\u0647\u0627\u060c \u0639\u0644\u062a \u062f\u0642\u06cc\u0642 \u0622\u0646\u200c\u0647\u0627 \u0648 \u0631\u0627\u0647\u200c\u062d\u0644 \u06af\u0627\u0645\u200c\u0628\u0647\u200c\u06af\u0627\u0645 \u0628\u0631\u0627\u06cc \u0631\u0641\u0639 \u0647\u0631 \u0645\u0634\u06a9\u0644 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0646\u062d\u0648\u0647 \u062e\u0648\u0627\u0646\u062f\u0646 \u0648 \u062a\u062d\u0644\u06cc\u0644 \u0644\u0627\u06af\u200c\u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0628\u0631\u0627\u06cc \u062a\u0634\u062e\u06cc\u0635 \u0633\u0631\u06cc\u0639 \u0645\u0634\u06a9\u0644 \u0631\u0627 \u06cc\u0627\u062f \u062e\u0648\u0627\u0647\u06cc\u062f \u06af\u0631\u0641\u062a\u060c \u0686\u0648\u0646 \u062f\u0631 \u0627\u06a9\u062b\u0631 \u0645\u0648\u0627\u0631\u062f \u0644\u0627\u06af\u200c\u0647\u0627 \u062f\u0642\u06cc\u0642\u0627\u064b \u0628\u0647 \u0634\u0645\u0627 \u0645\u06cc\u200c\u06af\u0648\u06cc\u0646\u062f \u06a9\u062c\u0627\u06cc \u06a9\u0627\u0631 \u0627\u0634\u062a\u0628\u0627\u0647 \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"permission-denied-error-after-configuration\"><\/div><h3 id=\"gspb_heading-id-gsbp-fd7631a\" class=\"gspb_heading gspb_heading-id-gsbp-fd7631a \">\u062e\u0637\u0627\u06cc &#8220;Permission denied&#8221; \u0628\u0639\u062f \u0627\u0632 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-975cb07\" class=\"gspb_text gspb_text-id-gsbp-975cb07 \"><strong>\u0639\u0644\u062a:<\/strong> \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0647 \u062f\u0644\u06cc\u0644 \u0627\u0634\u062a\u0628\u0627\u0647 \u062f\u0631 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a PAM \u06cc\u0627 SSH \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-ede5616\" class=\"gspb_text gspb_text-id-gsbp-ede5616 \"><strong>\u0631\u0627\u0647\u200c\u062d\u0644:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af\u200c\u0647\u0627\nsudo tail -30 \/var\/log\/auth.log | grep pam\n\n# \u0686\u06a9 \u06a9\u0631\u062f\u0646 syntax \u0641\u0627\u06cc\u0644 PAM\nsudo pam-auth-update --force\n\n# \u0628\u0631\u0631\u0633\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc\u200c\u0647\u0627\u06cc \u0641\u0627\u06cc\u0644\nls -la ~\/.google_authenticator\n# \u0628\u0627\u06cc\u062f 400 \u06cc\u0627 600 \u0628\u0627\u0634\u062f\n\n# \u0627\u06af\u0631 \u0646\u06cc\u0633\u062a\u060c \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f\nchmod 400 ~\/.google_authenticator<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af\u200c\u0647\u0627<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">tail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-30<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/auth.log<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">grep<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">pam<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0686\u06a9 \u06a9\u0631\u062f\u0646 syntax \u0641\u0627\u06cc\u0644 PAM<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">pam-auth-update<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--force<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc\u200c\u0647\u0627\u06cc \u0641\u0627\u06cc\u0644<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">ls<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-la<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~\/.google_authenticator<\/span><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0627\u06cc\u062f 400 \u06cc\u0627 600 \u0628\u0627\u0634\u062f<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u06af\u0631 \u0646\u06cc\u0633\u062a\u060c \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">chmod<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">400<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~\/.google_authenticator<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"2fa-code-not-accepted-invalid-verification\"><\/div><h3 id=\"gspb_heading-id-gsbp-13639bd\" class=\"gspb_heading gspb_heading-id-gsbp-13639bd \">\u06a9\u062f 2FA \u0642\u0628\u0648\u0644 \u0646\u0645\u06cc\u200c\u0634\u0648\u062f (Invalid verification code)<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-f8471bc\" class=\"gspb_text gspb_text-id-gsbp-f8471bc \"><strong>\u0639\u0644\u062a\u200c\u0647\u0627\u06cc \u0627\u062d\u062a\u0645\u0627\u0644\u06cc:<\/strong><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0632\u0645\u0627\u0646 \u0633\u0631\u0648\u0631 \u0628\u0627 \u06af\u0648\u0634\u06cc \u0647\u0645\u0627\u0647\u0646\u06af \u0646\u06cc\u0633\u062a<\/strong><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0631\u0633\u06cc \u0632\u0645\u0627\u0646 \u0633\u0631\u0648\u0631\ndate\n\n# \u0646\u0635\u0628 \u0648 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc NTP\nsudo apt install ntp -y\nsudo systemctl start ntp\nsudo systemctl enable ntp\n\n# \u06cc\u0627 \u062f\u0631 \u0633\u06cc\u0633\u062a\u0645\u200c\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f\nsudo timedatectl set-ntp true<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0632\u0645\u0627\u0646 \u0633\u0631\u0648\u0631<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">date<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0646\u0635\u0628 \u0648 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc NTP<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">apt<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ntp<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">start<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ntp<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">enable<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ntp<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u06cc\u0627 \u062f\u0631 \u0633\u06cc\u0633\u062a\u0645\u200c\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">timedatectl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">set-ntp<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">true<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u06a9\u062f \u0645\u0646\u0642\u0636\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a<\/strong><\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-7db96b4\" class=\"gspb_text gspb_text-id-gsbp-7db96b4 \">\u06a9\u062f\u0647\u0627\u06cc 2FA \u0647\u0631 30 \u062b\u0627\u0646\u06cc\u0647 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u0627\u0632 \u06a9\u062f \u062c\u062f\u06cc\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Rate limiting \u0641\u0639\u0627\u0644 \u0627\u0633\u062a<\/strong><\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-5315454\" class=\"gspb_text gspb_text-id-gsbp-5315454 \">\u0627\u06af\u0631 \u0686\u0646\u062f \u0628\u0627\u0631 \u06a9\u062f \u0627\u0634\u062a\u0628\u0627\u0647 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f\u060c 30 \u062b\u0627\u0646\u06cc\u0647 \u0635\u0628\u0631 \u06a9\u0646\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af\nsudo grep \"pam_google_authenticator\" \/var\/log\/auth.log<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">grep<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">pam_google_authenticator<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/auth.log<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"authenticator-app-not-showing-code\"><\/div><h3 id=\"gspb_heading-id-gsbp-417e10b\" class=\"gspb_heading gspb_heading-id-gsbp-417e10b \">\u0628\u0631\u0646\u0627\u0645\u0647 Authenticator \u06a9\u062f \u0646\u0645\u0627\u06cc\u0634 \u0646\u0645\u06cc\u200c\u062f\u0647\u062f<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-aaaa525\" class=\"gspb_text gspb_text-id-gsbp-aaaa525 \"><strong>\u0631\u0627\u0647\u200c\u062d\u0644:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0648\u0631\u0648\u062f \u0627\u0632 \u06a9\u0646\u0633\u0648\u0644 \u0648 \u0627\u062c\u0631\u0627\u06cc \u0645\u062c\u062f\u062f\ngoogle-authenticator\n\n# \u0627\u0633\u06a9\u0646 QR \u062c\u062f\u06cc\u062f \u06cc\u0627 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 Secret Key \u0628\u0647 \u0635\u0648\u0631\u062a \u062f\u0633\u062a\u06cc<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0648\u0631\u0648\u062f \u0627\u0632 \u06a9\u0646\u0633\u0648\u0644 \u0648 \u0627\u062c\u0631\u0627\u06cc \u0645\u062c\u062f\u062f<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">google-authenticator<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u0633\u06a9\u0646 QR \u062c\u062f\u06cc\u062f \u06cc\u0627 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 Secret Key \u0628\u0647 \u0635\u0648\u0631\u062a \u062f\u0633\u062a\u06cc<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"server-locked-after-configuration\"><\/div><h3 id=\"gspb_heading-id-gsbp-433e449\" class=\"gspb_heading gspb_heading-id-gsbp-433e449 \">\u0633\u0631\u0648\u0631 \u0628\u0639\u062f \u0627\u0632 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0642\u0641\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-fac1700\" class=\"gspb_text gspb_text-id-gsbp-fac1700 \"><strong>\u0631\u0627\u0647\u200c\u062d\u0644 \u0627\u0636\u0637\u0631\u0627\u0631\u06cc:<\/strong><\/div>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u0648\u0631\u0648\u062f \u0627\u0632 \u06a9\u0646\u0633\u0648\u0644 \u0627\u0631\u0627\u0626\u0647\u200c\u062f\u0647\u0646\u062f\u0647<\/strong> (\u0645\u062b\u0644\u0627\u064b \u067e\u0646\u0644 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0634\u0645\u0627)<\/li>\n\n\n\n<li><strong>\u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0645\u0648\u0642\u062a 2FA:<\/strong><\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u06a9\u0627\u0645\u0646\u062a \u06a9\u0631\u062f\u0646 \u0645\u0627\u0698\u0648\u0644 PAM\nsudo nano \/etc\/pam.d\/sshd\n# auth required pam_google_authenticator.so  # \u0645\u0648\u0642\u062a\u0627\u064b \u063a\u06cc\u0631\u0641\u0639\u0627\u0644\n\nsudo systemctl restart sshd<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u06a9\u0627\u0645\u0646\u062a \u06a9\u0631\u062f\u0646 \u0645\u0627\u0698\u0648\u0644 PAM<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/pam.d\/sshd<\/span><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># auth required pam_google_authenticator.so  # \u0645\u0648\u0642\u062a\u0627\u064b \u063a\u06cc\u0631\u0641\u0639\u0627\u0644<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">restart<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sshd<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>\u0628\u0631\u0631\u0633\u06cc \u0648 \u0631\u0641\u0639 \u0645\u0634\u06a9\u0644<\/strong><\/li>\n\n\n\n<li><strong>\u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0645\u062c\u062f\u062f \u0628\u0639\u062f \u0627\u0632 \u062d\u0644 \u0645\u0634\u06a9\u0644<\/strong><\/li>\n<\/ol>\n\n\n\n<div id=\"google-authenticator-command-not-found\"><\/div><h3 id=\"gspb_heading-id-gsbp-46c9928\" class=\"gspb_heading gspb_heading-id-gsbp-46c9928 \">\u067e\u06cc\u0627\u0645 &#8220;google_authenticator: command not found&#8221;<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-89ead00\" class=\"gspb_text gspb_text-id-gsbp-89ead00 \"><strong>\u0639\u0644\u062a:<\/strong> \u0645\u0627\u0698\u0648\u0644 \u0628\u0647\u200c\u062f\u0631\u0633\u062a\u06cc \u0646\u0635\u0628 \u0646\u0634\u062f\u0647 \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-ecfe0e7\" class=\"gspb_text gspb_text-id-gsbp-ecfe0e7 \"><strong>\u0631\u0627\u0647\u200c\u062d\u0644:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># Ubuntu\/Debian\nsudo apt install libpam-google-authenticator --reinstall\n\n# CentOS\/RHEL\nsudo yum reinstall google-authenticator\n\n# \u0628\u0631\u0631\u0633\u06cc PATH\nwhich google-authenticator<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># Ubuntu\/Debian<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">apt<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">libpam-google-authenticator<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--reinstall<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># CentOS\/RHEL<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yum<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">reinstall<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">google-authenticator<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc PATH<\/span><\/span>\n<span class=\"line\"><span style=\"color: #97E1F1\">which<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">google-authenticator<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"selinux-error-centos-rhel\"><\/div><h3 id=\"gspb_heading-id-gsbp-40a08dd\" class=\"gspb_heading gspb_heading-id-gsbp-40a08dd \">\u062e\u0637\u0627\u06cc SELinux \u062f\u0631 CentOS\/RHEL<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-ac2c552\" class=\"gspb_text gspb_text-id-gsbp-ac2c552 \">\u0627\u06af\u0631 SELinux \u0641\u0639\u0627\u0644 \u0627\u0633\u062a\u060c \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0645\u0627\u0646\u0639 \u0627\u0632 \u0639\u0645\u0644\u06a9\u0631\u062f 2FA \u0634\u0648\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a SELinux\ngetenforce\n\n# \u0627\u06af\u0631 Enforcing \u0627\u0633\u062a\u060c \u0644\u0627\u06af\u200c\u0647\u0627 \u0631\u0627 \u0686\u06a9 \u06a9\u0646\u06cc\u062f\nsudo ausearch -m avc -ts recent\n\n# \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0642\u0648\u0627\u0646\u06cc\u0646 SELinux\nsudo semanage permissive -a sshd_t\n\n# \u06cc\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0645\u0648\u0642\u062a (\u062a\u0648\u0635\u06cc\u0647 \u0646\u0645\u06cc\u200c\u0634\u0648\u062f)\nsudo setenforce 0<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a SELinux<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">getenforce<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u06af\u0631 Enforcing \u0627\u0633\u062a\u060c \u0644\u0627\u06af\u200c\u0647\u0627 \u0631\u0627 \u0686\u06a9 \u06a9\u0646\u06cc\u062f<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ausearch<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-m<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">avc<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-ts<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">recent<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0642\u0648\u0627\u0646\u06cc\u0646 SELinux<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">semanage<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">permissive<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-a<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sshd_t<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u06cc\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0645\u0648\u0642\u062a (\u062a\u0648\u0635\u06cc\u0647 \u0646\u0645\u06cc\u200c\u0634\u0648\u062f)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">setenforce<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">0<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"compare-different-2fa-tools-linux\"><\/div><h2 id=\"gspb_heading-id-gsbp-927eb81\" class=\"gspb_heading gspb_heading-id-gsbp-927eb81 \">\u0645\u0642\u0627\u06cc\u0633\u0647 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 2FA \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-3e2ba00\" class=\"gspb_text gspb_text-id-gsbp-3e2ba00 \">Google Authenticator \u062a\u0646\u0647\u0627 \u06af\u0632\u06cc\u0646\u0647 \u0645\u0648\u062c\u0648\u062f \u0628\u0631\u0627\u06cc \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc 2FA \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0646\u06cc\u0633\u062a\u060c \u0647\u0631\u0686\u0646\u062f \u0645\u062d\u0628\u0648\u0628\u200c\u062a\u0631\u06cc\u0646 \u0648 \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u06cc\u0646 \u0622\u0646 \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0645\u0627\u0646\u0646\u062f Duo Security\u060c FreeOTP \u0648 \u062f\u06cc\u06af\u0631 \u0631\u0627\u0647\u200c\u062d\u0644\u200c\u0647\u0627 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0648 \u0645\u0632\u0627\u06cc\u0627 \u0648 \u0645\u0639\u0627\u06cc\u0628 \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0631\u0627 \u0628\u0627 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0645\u0642\u0627\u06cc\u0633\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0647\u0645\u0686\u0646\u06cc\u0646 \u062a\u0641\u0627\u0648\u062a \u0628\u06cc\u0646 \u062f\u0648 \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f TOTP \u0648 HOTP \u0631\u0627 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645 \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0635\u0645\u06cc\u0645 \u0628\u06af\u06cc\u0631\u06cc\u062f \u06a9\u062f\u0627\u0645 \u0631\u0648\u0634 \u0628\u0631\u0627\u06cc \u0646\u06cc\u0627\u0632 \u0634\u0645\u0627 \u0645\u0646\u0627\u0633\u0628\u200c\u062a\u0631 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u0647\u200c\u062e\u0635\u0648\u0635 \u0628\u0631\u0627\u06cc \u0633\u0627\u0632\u0645\u0627\u0646\u200c\u0647\u0627 \u0648 \u06a9\u0633\u0628\u200c\u0648\u06a9\u0627\u0631\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u0646\u062f \u0628\u0647\u062a\u0631\u06cc\u0646 \u0631\u0627\u0647\u200c\u062d\u0644 \u0631\u0627 \u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0628\u0648\u062f\u062c\u0647 \u0648 \u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u062e\u0627\u0635 \u062e\u0648\u062f \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u0646\u062f\u060c \u0645\u0641\u06cc\u062f \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"google-authenticator-vs-duo-vs-freeotp\"><\/div><h3 id=\"gspb_heading-id-gsbp-8d190a6\" class=\"gspb_heading gspb_heading-id-gsbp-8d190a6 \">Google Authenticator \u0648 Duo \u0648 FreeOTP<\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">\u0648\u06cc\u0698\u06af\u06cc<\/th><th class=\"has-text-align-center\" data-align=\"center\">Google Authenticator<\/th><th class=\"has-text-align-center\" data-align=\"center\">Duo Security<\/th><th class=\"has-text-align-center\" data-align=\"center\">FreeOTP<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0631\u0627\u06cc\u06af\u0627\u0646 \u0628\u0648\u062f\u0646<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u2705 \u06a9\u0627\u0645\u0644\u0627\u064b \u0631\u0627\u06cc\u06af\u0627\u0646<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u274c \u0646\u0633\u062e\u0647 \u0631\u0627\u06cc\u06af\u0627\u0646 \u0645\u062d\u062f\u0648\u062f<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u2705 \u0631\u0627\u06cc\u06af\u0627\u0646 \u0648 \u0645\u062a\u0646\u200c\u0628\u0627\u0632<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0633\u0647\u0648\u0644\u062a \u0646\u0635\u0628<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u2b50\u2b50\u2b50\u2b50\u2b50<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u2b50\u2b50\u2b50<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u2b50\u2b50\u2b50\u2b50<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u062e\u0648\u0628<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0639\u0627\u0644\u06cc (\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u062a\u062c\u0627\u0631\u06cc)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u062a\u0648\u0633\u0637<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0627\u0645\u06a9\u0627\u0646\u0627\u062a \u0627\u0636\u0627\u0641\u06cc<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u067e\u0627\u06cc\u0647\u200c\u0627\u06cc<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u067e\u06cc\u0634\u0631\u0641\u062a\u0647 (Push, Policy)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u067e\u0627\u06cc\u0647\u200c\u0627\u06cc<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div id=\"gspb_text-id-gsbp-64cadc3\" class=\"gspb_text gspb_text-id-gsbp-64cadc3 \">\ud83d\udca1 <strong>\u062a\u0648\u0635\u06cc\u0647:<\/strong> \u0628\u0631\u0627\u06cc \u0645\u062d\u06cc\u0637\u200c\u0647\u0627\u06cc \u0634\u062e\u0635\u06cc \u0648 \u06a9\u0633\u0628\u200c\u0648\u06a9\u0627\u0631\u0647\u0627\u06cc \u06a9\u0648\u0686\u06a9\u060c Google Authenticator \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a. \u0628\u0631\u0627\u06cc \u0633\u0627\u0632\u0645\u0627\u0646\u200c\u0647\u0627\u06cc \u0628\u0632\u0631\u06af\u060c Duo Security \u06af\u0632\u06cc\u0646\u0647 \u0628\u0647\u062a\u0631\u06cc \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"compare-totp-vs-hotp\"><\/div><h3 id=\"gspb_heading-id-gsbp-197f96f\" class=\"gspb_heading gspb_heading-id-gsbp-197f96f \">\u0645\u0642\u0627\u06cc\u0633\u0647 TOTP \u0648 HOTP<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-58c7c93\" class=\"gspb_text gspb_text-id-gsbp-58c7c93 \"><strong>TOTP (Time-based):<\/strong><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u06a9\u062f\u0647\u0627 \u0647\u0631 30 \u062b\u0627\u0646\u06cc\u0647 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f<\/li>\n\n\n\n<li>\u0646\u06cc\u0627\u0632 \u0628\u0647 \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u0632\u0645\u0627\u0646<\/li>\n\n\n\n<li>\u0627\u0645\u0646\u200c\u062a\u0631 \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 \u062d\u0645\u0644\u0627\u062a replay<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-9dd9c9d\" class=\"gspb_text gspb_text-id-gsbp-9dd9c9d \"><strong>HOTP (Counter-based):<\/strong><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0628\u0631 \u0627\u0633\u0627\u0633 \u0634\u0645\u0627\u0631\u0646\u062f\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f<\/li>\n\n\n\n<li>\u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u0632\u0645\u0627\u0646 \u0646\u06cc\u0633\u062a<\/li>\n\n\n\n<li>\u062f\u0631 \u0635\u0648\u0631\u062a \u0639\u062f\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647\u060c \u06a9\u062f\u0647\u0627 \u0645\u0646\u0642\u0636\u06cc \u0646\u0645\u06cc\u200c\u0634\u0648\u0646\u062f<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-b0c9516\" class=\"gspb_text gspb_text-id-gsbp-b0c9516 \">\ud83d\udca1 <strong>\u062a\u0648\u0635\u06cc\u0647:<\/strong> TOTP (\u067e\u06cc\u0634\u200c\u0641\u0631\u0636 Google Authenticator) \u0628\u0631\u0627\u06cc SSH \u0645\u0646\u0627\u0633\u0628\u200c\u062a\u0631 \u0627\u0633\u062a.<\/div>\n\n\n<style>.gspb_container-id-gsbp-548f299,.gspb_container-id-gsbp-64dd729{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-548f299.gspb_container>p:last-of-type,#gspb_container-id-gsbp-5f7449a.gspb_container>p:last-of-type,#gspb_container-id-gsbp-64dd729.gspb_container>p:last-of-type,#gspb_container-id-gsbp-e6cd40a.gspb_container>p:last-of-type{margin-bottom:0}#gspb_container-id-gsbp-64dd729.gspb_container{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center}@media (max-width:999.98px){#gspb_container-id-gsbp-64dd729.gspb_container{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container{grid-template-columns:repeat(2,minmax(0,1fr))}}#gspb_container-id-gsbp-64dd729.gspb_container{box-shadow:0 2px 4px 0 rgba(0,0,0,.07);margin-bottom:0;padding:5px}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container{padding-bottom:5px}}#gspb_container-id-gsbp-64dd729.gspb_container,#gspb_container-id-gsbp-64dd729.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}}#gspb_container-id-gsbp-64dd729.gspb_container{background-color:#010103;background-size:cover;background-repeat:no-repeat;background-position:0 30%}@media (max-width:999.98px){#gspb_container-id-gsbp-64dd729.gspb_container{background-size:cover;background-repeat:no-repeat;background-position:0 30%}}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container{background-size:cover;background-repeat:no-repeat;background-position:50% 100%}}#gspb_container-id-gsbp-64dd729.gspb_container{background-image:url(https:\/\/webdade.com\/blog\/wp-content\/uploads\/2025\/05\/Guide-to-buying-a-dedicated-server-in-Iran.jpg);isolation:isolate;height:180px;min-height:180px;max-height:180px}#gspb_container-id-gsbp-64dd729.gspb_container:hover{background-size:cover}@media (max-width:999.98px){#gspb_container-id-gsbp-64dd729.gspb_container:hover{background-size:cover}}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container:hover{background-size:cover}}#gspb_container-id-gsbp-64dd729.gspb_container>.gspb_backgroundOverlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;opacity:.25;background-color:var(--wp--preset--color--palette-color-4,var(--theme-palette-color-4,#000000));mix-blend-mode:darken}@media (max-width:999.98px){#gspb_container-id-gsbp-64dd729.gspb_container{height:160px;min-height:160px;max-height:160px}}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container{height:150px;min-height:150px;max-height:150px}}#gspb_container-id-gsbp-548f299.gspb_container{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:stretch}body.gspb-bodyfront #gspb_container-id-gsbp-548f299.gspb_container{grid-column:span 3}@media (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-548f299.gspb_container{grid-column:span 1}}body.gspb-bodyfront #gspb_container-id-gsbp-548f299.gspb_container{align-self:center}@media (max-width:689.98px){#gspb_container-id-gsbp-548f299.gspb_container{justify-content:center}}#gspb_container-id-gsbp-548f299.gspb_container{margin-right:25px;margin-bottom:0}@media (max-width:689.98px){#gspb_container-id-gsbp-548f299.gspb_container{margin-right:0;margin-bottom:0}}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item__text{margin-left:15px}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item{display:flex;flex-direction:row;align-items:center;position:relative;font-size:32px}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item svg path{fill:var(--theme-link-initial-color,#2184f9)!important}body #gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item img,body #gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item svg{margin:0 0 0 15px!important}@media (max-width:999.98px){#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item{font-size:32px}}@media (max-width:689.98px){#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item{font-size:16px}}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item{font-weight:800!important;color:var(--wp--preset--color--palette-color-11,var(--theme-palette-color-11,#ffffff));padding:5px}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList [data-id='0'] img{height:60px!important;width:60px!important;min-width:60px!important}@media (max-width:689.98px){#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList [data-id='0'] img{height:32px!important;width:32px!important;min-width:32px!important}}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList [data-id='0'] img{margin:0!important}@media (max-width:999.98px){.gspb_text-id-gsbp-b71d961{font-size:16px}}@media (max-width:689.98px){.gspb_text-id-gsbp-b71d961{font-size:13px}}.gspb_text-id-gsbp-b71d961{font-weight:700!important;color:var(--wp--preset--color--palette-color-11,var(--theme-palette-color-11,#ffffff))}.gspb_container-id-gsbp-5f7449a{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-5f7449a.gspb_container{position:relative}@media (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-5f7449a.gspb_container{grid-column:span 1}}body.gspb-bodyfront #gspb_container-id-gsbp-5f7449a.gspb_container{z-index:3}.gspb_text-id-gsbp-04124d6{font-size:16px}@media (max-width:689.98px){.gspb_text-id-gsbp-04124d6{font-size:14px}}.gspb_text-id-gsbp-04124d6,.gspb_text-id-gsbp-04124d6 .gsap-g-line{text-align:center!important}.gspb_text-id-gsbp-04124d6{font-weight:400!important;color:var(--wp--preset--color--palette-color-3,var(--theme-palette-color-3,#282828));margin-top:0!important}@media (max-width:689.98px){.gspb_text-id-gsbp-04124d6{margin-bottom:0!important}}body.gspb-bodyfront .gspb_text-id-gsbp-04124d6{z-index:33}#gspb_button-id-gsbp-5711edc{display:flex;justify-content:center}#gspb_button-id-gsbp-5711edc .gspb-buttonbox-text{display:flex;flex-direction:column}#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{box-sizing:border-box;margin-top:10px;margin-bottom:10px;padding:5px 10px}@media (max-width:689.98px){#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{margin:5px;padding:2px 5px}}#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{font-size:18px}@media (max-width:999.98px){#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{font-size:16px}}@media (max-width:689.98px){#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{font-size:14px}}#gspb_button-id-gsbp-5711edc>.gspb-buttonbox,#gspb_button-id-gsbp-5711edc>.gspb-buttonbox>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}@media (max-width:999.98px){#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}}@media (max-width:999.98px){#gspb_button-id-gsbp-5711edc>.gspb-buttonbox>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}}#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{box-shadow:0 15px 25px 0 #00529e47}#gspb_button-id-gsbp-5711edc>.gspb-buttonbox:hover{box-shadow:0 15px 25px 0 #00529e69}.gspb_container-id-gsbp-e6cd40a{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-e6cd40a.gspb_container{position:relative;transition:all .5s cubic-bezier(.42,0,.58,1);transform:translateY(-1px);clip-path:circle(65% at 35% 70%)}@media (min-width:690px) and (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{display:none!important}}body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{position:absolute;top:0;bottom:0;left:0}@media (max-width:999.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{left:0}}@media (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{bottom:0}}@media (max-width:999.98px){#gspb_container-id-gsbp-e6cd40a.gspb_container{transform:translateY(-1px) rotateY(0deg) rotateX(0deg);clip-path:circle(65% at 35% 70%)}}@media (max-width:689.98px){#gspb_container-id-gsbp-e6cd40a.gspb_container{transform:translateY(-1px) rotateZ(0deg) rotateY(0deg) rotateX(0deg);clip-path:circle(70% at 30% 60%)}}#gspb_container-id-gsbp-e6cd40a.gspb_container{margin:0;padding:0;background-color:var(--wp--preset--color--palette-color-8,var(--theme-palette-color-8,#ffffff))}#gspb_container-id-gsbp-e6cd40a.gspb_container,#gspb_container-id-gsbp-e6cd40a.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:5px}body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{width:30%;min-width:30%;max-width:30%}@media (max-width:999.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{width:33%;min-width:33%;max-width:33%}}@media (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{width:55%;min-width:55%;max-width:55%}}body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{height:101%;min-height:101%;max-height:101%}@media (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{height:100%}}<\/style><style>.gspb_container-id-gsbp-548f299,.gspb_container-id-gsbp-64dd729{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-548f299.gspb_container>p:last-of-type,#gspb_container-id-gsbp-5f7449a.gspb_container>p:last-of-type,#gspb_container-id-gsbp-64dd729.gspb_container>p:last-of-type,#gspb_container-id-gsbp-e6cd40a.gspb_container>p:last-of-type{margin-bottom:0}#gspb_container-id-gsbp-64dd729.gspb_container{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center}@media (max-width:999.98px){#gspb_container-id-gsbp-64dd729.gspb_container{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container{grid-template-columns:repeat(2,minmax(0,1fr))}}#gspb_container-id-gsbp-64dd729.gspb_container{box-shadow:0 2px 4px 0 rgba(0,0,0,.07);margin-bottom:0;padding:5px}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container{padding-bottom:5px}}#gspb_container-id-gsbp-64dd729.gspb_container,#gspb_container-id-gsbp-64dd729.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}}#gspb_container-id-gsbp-64dd729.gspb_container{background-color:#010103;background-size:cover;background-repeat:no-repeat;background-position:0 30%}@media (max-width:999.98px){#gspb_container-id-gsbp-64dd729.gspb_container{background-size:cover;background-repeat:no-repeat;background-position:0 30%}}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container{background-size:cover;background-repeat:no-repeat;background-position:50% 100%}}#gspb_container-id-gsbp-64dd729.gspb_container{background-image:url(https:\/\/webdade.com\/blog\/wp-content\/uploads\/2025\/05\/Guide-to-buying-a-dedicated-server-in-Iran.jpg);isolation:isolate;height:180px;min-height:180px;max-height:180px}#gspb_container-id-gsbp-64dd729.gspb_container:hover{background-size:cover}@media (max-width:999.98px){#gspb_container-id-gsbp-64dd729.gspb_container:hover{background-size:cover}}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container:hover{background-size:cover}}#gspb_container-id-gsbp-64dd729.gspb_container>.gspb_backgroundOverlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;opacity:.25;background-color:var(--wp--preset--color--palette-color-4,var(--theme-palette-color-4,#000000));mix-blend-mode:darken}@media (max-width:999.98px){#gspb_container-id-gsbp-64dd729.gspb_container{height:160px;min-height:160px;max-height:160px}}@media (max-width:689.98px){#gspb_container-id-gsbp-64dd729.gspb_container{height:150px;min-height:150px;max-height:150px}}#gspb_container-id-gsbp-548f299.gspb_container{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:stretch}body.gspb-bodyfront #gspb_container-id-gsbp-548f299.gspb_container{grid-column:span 3}@media (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-548f299.gspb_container{grid-column:span 1}}body.gspb-bodyfront #gspb_container-id-gsbp-548f299.gspb_container{align-self:center}@media (max-width:689.98px){#gspb_container-id-gsbp-548f299.gspb_container{justify-content:center}}#gspb_container-id-gsbp-548f299.gspb_container{margin-right:25px;margin-bottom:0}@media (max-width:689.98px){#gspb_container-id-gsbp-548f299.gspb_container{margin-right:0;margin-bottom:0}}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item__text{margin-left:15px}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item{display:flex;flex-direction:row;align-items:center;position:relative;font-size:32px}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item svg path{fill:var(--theme-link-initial-color,#2184f9)!important}body #gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item img,body #gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item svg{margin:0 0 0 15px!important}@media (max-width:999.98px){#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item{font-size:32px}}@media (max-width:689.98px){#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item{font-size:16px}}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList .gspb_iconsList__item{font-weight:800!important;color:var(--wp--preset--color--palette-color-11,var(--theme-palette-color-11,#ffffff));padding:5px}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList [data-id='0'] img{height:60px!important;width:60px!important;min-width:60px!important}@media (max-width:689.98px){#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList [data-id='0'] img{height:32px!important;width:32px!important;min-width:32px!important}}#gspb_iconsList-id-gsbp-d9ac3a3.gspb_iconsList [data-id='0'] img{margin:0!important}@media (max-width:999.98px){.gspb_text-id-gsbp-b71d961{font-size:16px}}@media (max-width:689.98px){.gspb_text-id-gsbp-b71d961{font-size:13px}}.gspb_text-id-gsbp-b71d961{font-weight:700!important;color:var(--wp--preset--color--palette-color-11,var(--theme-palette-color-11,#ffffff))}.gspb_container-id-gsbp-5f7449a{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-5f7449a.gspb_container{position:relative}@media (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-5f7449a.gspb_container{grid-column:span 1}}body.gspb-bodyfront #gspb_container-id-gsbp-5f7449a.gspb_container{z-index:3}.gspb_text-id-gsbp-04124d6{font-size:16px}@media (max-width:689.98px){.gspb_text-id-gsbp-04124d6{font-size:14px}}.gspb_text-id-gsbp-04124d6,.gspb_text-id-gsbp-04124d6 .gsap-g-line{text-align:center!important}.gspb_text-id-gsbp-04124d6{font-weight:400!important;color:var(--wp--preset--color--palette-color-3,var(--theme-palette-color-3,#282828));margin-top:0!important}@media (max-width:689.98px){.gspb_text-id-gsbp-04124d6{margin-bottom:0!important}}body.gspb-bodyfront .gspb_text-id-gsbp-04124d6{z-index:33}#gspb_button-id-gsbp-5711edc{display:flex;justify-content:center}#gspb_button-id-gsbp-5711edc .gspb-buttonbox-text{display:flex;flex-direction:column}#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{box-sizing:border-box;margin-top:10px;margin-bottom:10px;padding:5px 10px}@media (max-width:689.98px){#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{margin:5px;padding:2px 5px}}#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{font-size:18px}@media (max-width:999.98px){#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{font-size:16px}}@media (max-width:689.98px){#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{font-size:14px}}#gspb_button-id-gsbp-5711edc>.gspb-buttonbox,#gspb_button-id-gsbp-5711edc>.gspb-buttonbox>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}@media (max-width:999.98px){#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}}@media (max-width:999.98px){#gspb_button-id-gsbp-5711edc>.gspb-buttonbox>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}}#gspb_button-id-gsbp-5711edc>.gspb-buttonbox{box-shadow:0 15px 25px 0 #00529e47}#gspb_button-id-gsbp-5711edc>.gspb-buttonbox:hover{box-shadow:0 15px 25px 0 #00529e69}.gspb_container-id-gsbp-e6cd40a{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-e6cd40a.gspb_container{position:relative;transition:all .5s cubic-bezier(.42,0,.58,1);transform:translateY(-1px);clip-path:circle(65% at 35% 70%)}@media (min-width:690px) and (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{display:none!important}}body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{position:absolute;top:0;bottom:0;left:0}@media (max-width:999.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{left:0}}@media (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{bottom:0}}@media (max-width:999.98px){#gspb_container-id-gsbp-e6cd40a.gspb_container{transform:translateY(-1px) rotateY(0deg) rotateX(0deg);clip-path:circle(65% at 35% 70%)}}@media (max-width:689.98px){#gspb_container-id-gsbp-e6cd40a.gspb_container{transform:translateY(-1px) rotateZ(0deg) rotateY(0deg) rotateX(0deg);clip-path:circle(70% at 30% 60%)}}#gspb_container-id-gsbp-e6cd40a.gspb_container{margin:0;padding:0;background-color:var(--wp--preset--color--palette-color-8,var(--theme-palette-color-8,#ffffff))}#gspb_container-id-gsbp-e6cd40a.gspb_container,#gspb_container-id-gsbp-e6cd40a.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:5px}body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{width:30%;min-width:30%;max-width:30%}@media (max-width:999.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{width:33%;min-width:33%;max-width:33%}}@media (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{width:55%;min-width:55%;max-width:55%}}body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{height:101%;min-height:101%;max-height:101%}@media (max-width:689.98px){body.gspb-bodyfront #gspb_container-id-gsbp-e6cd40a.gspb_container{height:100%}}<\/style>\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-64dd729\" id=\"gspb_container-id-gsbp-64dd729\"><div class=\"gspb_backgroundOverlay\"><\/div>\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-548f299\" id=\"gspb_container-id-gsbp-548f299\">\n<div class=\"wp-block-greenshift-blocks-iconlist gspb_iconsList gspb_iconsList-id-gsbp-d9ac3a3\" id=\"gspb_iconsList-id-gsbp-d9ac3a3\"><div class=\"gspb_iconsList__item\" data-id=\"0\"><img decoding=\"async\" src=\"https:\/\/webdade.com\/blog\/wp-content\/uploads\/2025\/07\/svgexport-58.webp\" alt=\"\"><span class=\"gspb_iconsList__item__text\">\u0633\u0631\u0648\u0631 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0627\u06cc\u0631\u0627\u0646<\/span><\/div><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-b71d961\" class=\"gspb_text gspb_text-id-gsbp-b71d961 \"><strong>\u0633\u0631\u0648\u0631 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0627\u06cc\u0631\u0627\u0646 \u0628\u0627 \u0633\u062e\u062a\u200c\u0627\u0641\u0632\u0627\u0631 \u0646\u0633\u0644 \u062c\u062f\u06cc\u062f\u060c \u067e\u0648\u0631\u062a \u06f1\u06f0 \u06af\u06cc\u06af \u0648 \u0645\u062f\u06cc\u0631\u06cc\u062a \u062d\u0631\u0641\u0647\u200c\u0627\u06cc<\/strong><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-5f7449a\" id=\"gspb_container-id-gsbp-5f7449a\">\n<div id=\"gspb_text-id-gsbp-04124d6\" class=\"gspb_text gspb_text-id-gsbp-04124d6 \">\u0628\u0631\u0627\u06cc \u0645\u0634\u0627\u0647\u062f\u0647 \u067e\u0644\u0646\u200c\u0647\u0627\u06cc <br><strong>\u0633\u0631\u0648\u0631 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0627\u06cc\u0631\u0627\u0646 <br><\/strong> \u0631\u0648\u06cc \u062f\u06a9\u0645\u0647 \u0632\u06cc\u0631 \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f<\/div>\n\n\n\n<div class=\"gspb_button_wrapper gspb_button-id-gsbp-5711edc\" id=\"gspb_button-id-gsbp-5711edc\"><a class=\"wp-block-greenshift-blocks-buttonbox gspb-buttonbox wp-element-button\" href=\"https:\/\/webdade.com\/iran-dedicated-server\" id=\"https:\/\/webdade.com\/iran-dedicated-server\" title=\"\u062e\u0631\u06cc\u062f  \u0633\u0631\u0648\u0631 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0627\u06cc\u0631\u0627\u0646\" target=\"_blank\" rel=\"noopener\"><span class=\"gspb-buttonbox-textwrap\"><span class=\"gspb-buttonbox-text\"><span class=\"gspb-buttonbox-title\">\u062e\u0631\u06cc\u062f \u0633\u0631\u0648\u0631 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0627\u06cc\u0631\u0627\u0646<\/span><\/span><\/span><\/a><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-e6cd40a\" id=\"gspb_container-id-gsbp-e6cd40a\">\n<div style=\"height:100%\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n<\/div>\n\n\n\n<div id=\"Conclusion\"><\/div><h3 id=\"gspb_heading-id-gsbp-39c7c43\" class=\"gspb_heading gspb_heading-id-gsbp-39c7c43 \">\u0646\u062a\u06cc\u062c\u0647\u200c\u06af\u06cc\u0631\u06cc: \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-819c981\" class=\"gspb_text gspb_text-id-gsbp-819c981 \">\u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0628\u0631\u0627\u06cc SSH \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0624\u062b\u0631\u062a\u0631\u06cc\u0646 \u0627\u0642\u062f\u0627\u0645\u0627\u062a\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc \u0627\u0645\u0646\u200c\u0633\u0627\u0632\u06cc \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u062e\u0648\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f. \u0647\u0645\u0627\u0646\u200c\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627 \u062f\u06cc\u062f\u06cc\u062f\u060c \u0641\u0631\u0622\u06cc\u0646\u062f \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Google Authenticator \u0646\u0633\u0628\u062a\u0627\u064b \u0633\u0627\u062f\u0647 \u0627\u0633\u062a \u0648 \u062a\u0646\u0647\u0627 30 \u062a\u0627 60 \u062f\u0642\u06cc\u0642\u0647 \u0632\u0645\u0627\u0646 \u0645\u06cc\u200c\u0628\u0631\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-dcb8ecb\" class=\"gspb_text gspb_text-id-gsbp-dcb8ecb \">\u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0646\u06a9\u0627\u062a \u0645\u0647\u0645\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0628\u0647 \u062e\u0627\u0637\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f: \u0647\u0645\u06cc\u0634\u0647 \u0642\u0628\u0644 \u0627\u0632 \u0647\u0631 \u062a\u063a\u06cc\u06cc\u0631\u06cc \u06cc\u06a9 \u0646\u0634\u0633\u062a SSH \u0641\u0639\u0627\u0644 \u0628\u0627\u0632 \u0646\u06af\u0647 \u062f\u0627\u0631\u06cc\u062f\u060c \u06a9\u062f\u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u062e\u0648\u062f \u0631\u0627 \u062f\u0631 \u062c\u0627\u06cc \u0627\u0645\u0646 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0648 \u0627\u0632 \u062a\u0631\u06a9\u06cc\u0628 \u06a9\u0644\u06cc\u062f SSH \u0628\u0627 2FA \u0628\u0631\u0627\u06cc \u062d\u062f\u0627\u06a9\u062b\u0631 \u0627\u0645\u0646\u06cc\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u062a\u0627\u0645\u06cc\u0646 \u0627\u0645\u0646\u06cc\u062a \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u06cc\u06a9 \u0641\u0631\u0622\u06cc\u0646\u062f \u0645\u0633\u062a\u0645\u0631 \u0627\u0633\u062a \u0648 \u0628\u0627\u06cc\u062f \u0628\u0647\u200c\u0637\u0648\u0631 \u0645\u0646\u0638\u0645 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062e\u0648\u062f \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0648 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-d87b0e0\" class=\"gspb_text gspb_text-id-gsbp-d87b0e0 \">\u0627\u06af\u0631 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0628\u0627 \u0627\u0645\u06a9\u0627\u0646\u0627\u062a \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0647\u0633\u062a\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627\u06cc \u0633\u0631\u0648\u0631 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0648\u0628\u200c\u062f\u0627\u062f\u0647 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u0627 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u062a\u062e\u0635\u0635\u06cc 24\/7 \u0648 \u0632\u06cc\u0631\u0633\u0627\u062e\u062a\u200c\u0647\u0627\u06cc \u0627\u0645\u0646\u060c \u0628\u0647 \u0634\u0645\u0627 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u062f \u062a\u0627 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc\u062a\u0627\u0646 \u0631\u0627 \u062f\u0631 \u0628\u0627\u0644\u0627\u062a\u0631\u06cc\u0646 \u0633\u0637\u062d \u0627\u0645\u0646\u06cc\u062a\u06cc \u0646\u06af\u0647 \u062f\u0627\u0631\u06cc\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-e5b77be\" class=\"gspb_text gspb_text-id-gsbp-e5b77be \">\u0628\u0647 \u06cc\u0627\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u0645\u0646\u06cc\u062a \u06cc\u06a9 \u0645\u0633\u06cc\u0631 \u0627\u0633\u062a \u0646\u0647 \u0645\u0642\u0635\u062f. \u0628\u0627 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc 2FA\u060c \u0634\u0645\u0627 \u06af\u0627\u0645 \u0645\u0647\u0645\u06cc \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0633\u06cc\u0631 \u0628\u0631\u062f\u0627\u0634\u062a\u0647\u200c\u0627\u06cc\u062f\u060c \u0627\u0645\u0627 \u0628\u0627\u06cc\u062f \u0647\u0645\u0686\u0646\u0627\u0646 \u0628\u0647 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0633\u06cc\u0633\u062a\u0645\u060c \u0646\u0638\u0627\u0631\u062a \u0628\u0631 \u0644\u0627\u06af\u200c\u0647\u0627\u060c \u0648 \u0628\u0647\u0628\u0648\u062f \u0645\u0633\u062a\u0645\u0631 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u0627\u062f\u0627\u0645\u0647 \u062f\u0647\u06cc\u062f.<\/div>\n\n\n\n<div id=\"FAQ\"><\/div><h3 id=\"gspb_heading-id-gsbp-d67be00\" class=\"gspb_heading gspb_heading-id-gsbp-d67be00 \">\u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644 \u0627\u0632 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0648\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc (2FA) \u0628\u0631\u0627\u06cc SSH \u062f\u0631 \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633<\/h3>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordion gs-accordion gspb_accordion-id-gsbp-1c83e2f togglelogic\" id=\"gspb_accordion-id-gsbp-1c83e2f\" itemscope itemtype=\"https:\/\/schema.org\/FAQPage\">\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-38d760d gsopen\" id=\"gspb_accordionitem-gsbp-38d760d\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div id=\"gs-trigger-gsbp-1c83e2f-0\" class=\"gs-accordion-item__title\" aria-expanded=\"true\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-38d760d\"><h4 class=\"gs-accordion-item__heading\">1- \u0622\u06cc\u0627 2FA \u0628\u0627\u0639\u062b \u06a9\u0646\u062f \u0634\u062f\u0646 \u0641\u0631\u0622\u06cc\u0646\u062f \u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u0631\u0648\u0631 \u0645\u06cc\u200c\u0634\u0648\u062f\u061f<\/h4><meta itemprop=\"name\" content=\"1- \u0622\u06cc\u0627 2FA \u0628\u0627\u0639\u062b \u06a9\u0646\u062f \u0634\u062f\u0646 \u0641\u0631\u0622\u06cc\u0646\u062f \u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u0631\u0648\u0631 \u0645\u06cc\u200c\u0634\u0648\u062f\u061f\"\/><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-1c83e2f-0\" class=\"gs-accordion-item__content\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\" id=\"gspb-accordion-item-content-gsbp-38d760d\" aria-hidden=\"false\"><div class=\"gs-accordion-item__text\" itemprop=\"text\">\n<p>\u062e\u06cc\u0631\u060c \u062a\u0646\u0647\u0627 \u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647 \u0628\u0647 \u0632\u0645\u0627\u0646 \u0648\u0631\u0648\u062f \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u06cc\u06a9 \u06a9\u062f 6 \u0631\u0642\u0645\u06cc \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u06a9\u0645\u062a\u0631 \u0627\u0632 5 \u062b\u0627\u0646\u06cc\u0647 \u0637\u0648\u0644 \u0645\u06cc\u200c\u06a9\u0634\u062f. \u062f\u0631 \u0645\u0642\u0627\u0628\u0644\u060c \u0627\u0645\u0646\u06cc\u062a \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0628\u0647\u200c\u0637\u0648\u0631 \u0686\u0634\u0645\u06af\u06cc\u0631\u06cc \u0627\u0641\u0632\u0627\u06cc\u0634 \u0645\u06cc\u200c\u06cc\u0627\u0628\u062f. \u0628\u0631\u0627\u06cc \u06a9\u0627\u0647\u0634 \u0632\u062d\u0645\u062a\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u06a9\u0644\u06cc\u062f SSH \u0647\u0645\u0631\u0627\u0647 \u0628\u0627 2FA \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0641\u0631\u0622\u06cc\u0646\u062f \u0633\u0631\u06cc\u0639\u200c\u062a\u0631 \u0634\u0648\u062f.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-7ff5ada gsclose\" id=\"gspb_accordionitem-gsbp-7ff5ada\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div id=\"gs-trigger-gsbp-1c83e2f-1\" class=\"gs-accordion-item__title\" aria-expanded=\"false\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-7ff5ada\"><h4 class=\"gs-accordion-item__heading\">2- \u0627\u06af\u0631 \u06af\u0648\u0634\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644\u0645 \u062e\u0631\u0627\u0628 \u0634\u0648\u062f \u06cc\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 Authenticator \u0646\u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0645 \u0686\u0647 \u0628\u0627\u06cc\u062f \u0628\u06a9\u0646\u0645\u061f<\/h4><meta itemprop=\"name\" content=\"2- \u0627\u06af\u0631 \u06af\u0648\u0634\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644\u0645 \u062e\u0631\u0627\u0628 \u0634\u0648\u062f \u06cc\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 Authenticator \u0646\u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0645 \u0686\u0647 \u0628\u0627\u06cc\u062f \u0628\u06a9\u0646\u0645\u061f\"\/><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-1c83e2f-1\" class=\"gs-accordion-item__content\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\" id=\"gspb-accordion-item-content-gsbp-7ff5ada\" aria-hidden=\"true\"><div class=\"gs-accordion-item__text\" itemprop=\"text\">\n<p>\u0633\u0647 \u0631\u0627\u0647\u200c\u062d\u0644 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u06a9\u062f\u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646:<\/strong> \u0647\u0646\u06af\u0627\u0645 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc\u060c \u06a9\u062f\u0647\u0627\u06cc \u06cc\u06a9\u200c\u0628\u0627\u0631 \u0645\u0635\u0631\u0641 \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u062f\u0631 \u062c\u0627\u06cc \u0627\u0645\u0646\u06cc \u0630\u062e\u06cc\u0631\u0647 \u0634\u0648\u0646\u062f<\/li>\n\n\n\n<li><strong>Secret Key:<\/strong> \u0627\u06af\u0631 \u06a9\u0644\u06cc\u062f \u0645\u062e\u0641\u06cc \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f 2FA \u0631\u0627 \u0631\u0648\u06cc \u062f\u0633\u062a\u06af\u0627\u0647 \u062c\u062f\u06cc\u062f \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u06a9\u0646\u06cc\u062f<\/li>\n\n\n\n<li><strong>\u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0646\u0633\u0648\u0644:<\/strong> \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06a9\u0646\u0633\u0648\u0644 \u0641\u06cc\u0632\u06cc\u06a9\u06cc \u06cc\u0627 \u06a9\u0646\u0633\u0648\u0644 \u0648\u0628 \u0627\u0631\u0627\u0626\u0647\u200c\u062f\u0647\u0646\u062f\u0647\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0633\u0631\u0648\u0631 \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f \u0648 2FA \u0631\u0627 \u0631\u06cc\u0633\u062a \u06a9\u0646\u06cc\u062f<\/li>\n<\/ul>\n\n\n\n<p>\u062a\u0648\u0635\u06cc\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u062d\u062a\u0645\u0627\u064b \u06a9\u062f\u0647\u0627\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0631\u0627 \u0686\u0627\u067e \u06a9\u0631\u062f\u0647 \u0648 \u062f\u0631 \u0645\u062d\u0644 \u0627\u0645\u0646\u06cc \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-ae64f67 gsclose\" id=\"gspb_accordionitem-gsbp-ae64f67\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div id=\"gs-trigger-gsbp-1c83e2f-2\" class=\"gs-accordion-item__title\" aria-expanded=\"false\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-ae64f67\"><h4 class=\"gs-accordion-item__heading\">3- \u0622\u06cc\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0645 2FA \u0631\u0627 \u0641\u0642\u0637 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u062e\u0627\u0635 \u0641\u0639\u0627\u0644 \u06a9\u0646\u0645\u061f<\/h4><meta itemprop=\"name\" content=\"3- \u0622\u06cc\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0645 2FA \u0631\u0627 \u0641\u0642\u0637 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u062e\u0627\u0635 \u0641\u0639\u0627\u0644 \u06a9\u0646\u0645\u061f\"\/><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-1c83e2f-2\" class=\"gs-accordion-item__content\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\" id=\"gspb-accordion-item-content-gsbp-ae64f67\" aria-hidden=\"true\"><div class=\"gs-accordion-item__text\" itemprop=\"text\">\n<p>\u0628\u0644\u0647\u060c \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0627\u0645\u06a9\u0627\u0646\u200c\u067e\u0630\u06cc\u0631 \u0627\u0633\u062a. \u062f\u0631 \u0641\u0627\u06cc\u0644 <code>\/etc\/pam.d\/sshd<\/code> \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0634\u0631\u0637 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u06cc\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 <code>\/etc\/ssh\/sshd_config<\/code> \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0631\u0627 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u06a9\u0627\u0631\u0628\u0631 \u0645\u062d\u0648\u0631 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>Match User admin\n    AuthenticationMethods publickey,keyboard-interactive\n\nMatch User normaluser\n    AuthenticationMethods password<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">Match<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">User<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">admin<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">AuthenticationMethods<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">publickey,keyboard-interactive<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Match<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">User<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">normaluser<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">AuthenticationMethods<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">password<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n<\/div><\/div><\/div>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 Google Authenticator \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc PAM\u060c \u06cc\u06a9 \u0644\u0627\u06cc\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0642\u062f\u0631\u062a\u0645\u0646\u062f \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 \u062d\u0645\u0644\u0627\u062a \u0628\u0631\u0648\u062a \u0641\u0648\u0631\u0633 \u0648 \u062f\u0633\u062a\u0631\u0633\u06cc\u200c\u0647\u0627\u06cc \u063a\u06cc\u0631\u0645\u062c\u0627\u0632 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u062e\u0648\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627 \u062a\u0645\u0627\u0645 \u0645\u0631\u0627\u062d\u0644 \u0627\u0632 \u0646\u0635\u0628 \u062a\u0627 \u0631\u0627\u0647\u200c\u062d\u0644\u200c\u0647\u0627\u06cc \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0627\u0636\u0637\u0631\u0627\u0631\u06cc \u0631\u0627 \u067e\u0648\u0634\u0634 \u0645\u06cc\u200c\u062f\u0647\u062f.<\/p>\n","protected":false},"author":2,"featured_media":21789,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":".gspb_text-id-gsbp-65d0520{margin-bottom:24px!important}.gspb_container-id-gsbp-ece0ea6{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-3090342.gspb_container>p:last-of-type,#gspb_container-id-gsbp-409cfcc.gspb_container>p:last-of-type,#gspb_container-id-gsbp-5edec11.gspb_container>p:last-of-type,#gspb_container-id-gsbp-756e077.gspb_container>p:last-of-type,#gspb_container-id-gsbp-9b86e93.gspb_container>p:last-of-type,#gspb_container-id-gsbp-b86bf5d.gspb_container>p:last-of-type,#gspb_container-id-gsbp-ece0ea6.gspb_container>p:last-of-type{margin-bottom:0}#gspb_container-id-gsbp-ece0ea6.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-ece0ea6.gspb_container{padding:10px}}#gspb_container-id-gsbp-ece0ea6.gspb_container{border-right-style:solid;border-right-width:5px;border-right-color:#00529eb0;background-color:#00529e1a}#gspb_container-id-gsbp-ece0ea6.gspb_container,#gspb_container-id-gsbp-ece0ea6.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}@media (max-width:575.98px){.gspb_text-id-gsbp-67df801{font-size:16px}}.gspb_text-id-gsbp-67df801{margin-bottom:0!important}.gspb_text-id-gsbp-3db8947{margin-bottom:20px!important}.gspb_text-id-gsbp-bf6418d{margin-bottom:42px!important}.gspb_container-id-gsbp-3090342{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-3090342.gspb_container{position:relative;padding-top:10px;padding-bottom:10px}@media (min-width:992px){body.gspb-bodyfront #gspb_container-id-gsbp-3090342.gspb_container{display:none!important}}#gspb_heading-id-gsbp-4f2eab8{font-weight:700!important;margin-top:10px;margin-bottom:10px}.gs-autolist{margin:15px 0 30px;border:1px solid #dddddd7d}.gs-autolist-item{padding:15px 15px 15px 5px;display:flex;align-items:center}.gs-autolist-title,.gs-autolist-title a{font-size:18px;line-height:24px;text-decoration:none}.gs-autolist-item.gs_sub_heading{padding:10px 15px 10px 35px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-title a{color:var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #00509d));font-size:16px;font-weight:400!important}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-number{border-radius:50%;color:#fff;text-align:center;font-weight:700;color:var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #00509d))}#gspb_toc-id-gsbp-9ed45ff .gs_sub_heading .gs-autolist-title a{font-size:16px}#gspb_toc-id-gsbp-9ed45ff{margin-top:2px;margin-bottom:2px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-item,#gspb_toc-id-gsbp-9ed45ff .gs-autolist-item.gs_sub_heading{margin-top:2px;margin-bottom:2px;padding-top:5px;padding-bottom:5px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-item.gs_sub_heading{margin-right:15px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;border-style:solid;border-width:1px;border-color:#00000000}.gs-autolist-title,.gs-autolist-title a:hover{color:var(--wp--preset--color--palette-color-4, var(--theme-palette-color-4, #000000))!important}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-number{background-color:var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #00509d));height:7px!important;margin:0 0 0 10px!important;line-height:7px!important;width:7px!important;font-size:0!important;min-width:7px!important}#gspb_toc-id-gsbp-9ed45ff .gs_sub_heading .gs-autolist-number{font-size:0!important}#gspb_heading-id-gsbp-030d616,#gspb_heading-id-gsbp-0506dd3,#gspb_heading-id-gsbp-05d9dfb,#gspb_heading-id-gsbp-0dfdaae,#gspb_heading-id-gsbp-0e2c08f,#gspb_heading-id-gsbp-13356bd,#gspb_heading-id-gsbp-13639bd,#gspb_heading-id-gsbp-27768a8,#gspb_heading-id-gsbp-2b64d7e,#gspb_heading-id-gsbp-2d2e2b8,#gspb_heading-id-gsbp-2d308f8,#gspb_heading-id-gsbp-4d73ee4,#gspb_heading-id-gsbp-5db6f59,#gspb_heading-id-gsbp-668de19,#gspb_heading-id-gsbp-6b0957f,#gspb_heading-id-gsbp-6bfcc1d,#gspb_heading-id-gsbp-70a5f0a,#gspb_heading-id-gsbp-70bc9fa,#gspb_heading-id-gsbp-79f8e42,#gspb_heading-id-gsbp-8107030,#gspb_heading-id-gsbp-8f48fbf,#gspb_heading-id-gsbp-9d0da9d,#gspb_heading-id-gsbp-9e86105,#gspb_heading-id-gsbp-a2eb615,#gspb_heading-id-gsbp-aab71a6,#gspb_heading-id-gsbp-ae396c6,#gspb_heading-id-gsbp-b2149a9,#gspb_heading-id-gsbp-bb39f1b,#gspb_heading-id-gsbp-bb59cd2,#gspb_heading-id-gsbp-bdfa986,#gspb_heading-id-gsbp-c1665ae,#gspb_heading-id-gsbp-c813fe9,#gspb_heading-id-gsbp-cd1437e,#gspb_heading-id-gsbp-d18286a,#gspb_heading-id-gsbp-d199db0,#gspb_heading-id-gsbp-db055f0,#gspb_heading-id-gsbp-dd6cd34,#gspb_heading-id-gsbp-fd7631a,#gspb_heading-id-gsbp-fecc5d1{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}.gspb_text-id-gsbp-5714e8b{margin-bottom:48px!important}.gspb_text-id-gsbp-2feeea7{margin-bottom:38px!important}.gspb_text-id-gsbp-9d2d0c4{margin-bottom:14px!important}.gspb_text-id-gsbp-ab5b05c{margin-bottom:46px!important}.gspb_container-id-gsbp-b86bf5d{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-b86bf5d.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-b86bf5d.gspb_container{padding:10px}}#gspb_container-id-gsbp-b86bf5d.gspb_container{border-right-style:solid;border-right-width:5px;border-right-color:#00529eb0;background-color:#00529e1a}#gspb_container-id-gsbp-409cfcc.gspb_container>.gspb_backgroundOverlay,#gspb_container-id-gsbp-5edec11.gspb_container>.gspb_backgroundOverlay,#gspb_container-id-gsbp-756e077.gspb_container>.gspb_backgroundOverlay,#gspb_container-id-gsbp-9b86e93.gspb_container>.gspb_backgroundOverlay,#gspb_container-id-gsbp-b86bf5d.gspb_container,#gspb_container-id-gsbp-b86bf5d.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}@media (max-width:575.98px){.gspb_text-id-gsbp-a376994{font-size:16px}}.gspb_text-id-gsbp-a376994{margin-bottom:0!important}.gspb_text-id-gsbp-d8ba9c6{margin-bottom:32px!important}.gspb_text-id-gsbp-29693fa{margin-top:40px!important}.gspb_text-id-gsbp-8cbd059,.gspb_text-id-gsbp-938a337{margin-bottom:26px!important}.gspb_text-id-gsbp-dd3b12e{margin-bottom:24px!important}.gspb_container-id-gsbp-5edec11{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-5edec11.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-5edec11.gspb_container{padding:10px}}#gspb_container-id-gsbp-5edec11.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-right-style:solid;border-right-width:5px;border-right-color:#cf2d2d;background-color:#cf2d2d2b}@media (max-width:575.98px){.gspb_text-id-gsbp-6e00b49{font-size:16px}}.gspb_text-id-gsbp-6e00b49,.gspb_text-id-gsbp-cb054c4{margin-bottom:0!important}#gspb_image-id-gsbp-164d78f img,#gspb_image-id-gsbp-34f65b1 img{vertical-align:top;display:inline-block;box-sizing:border-box;max-width:100%;height:auto}.gspb_text-id-gsbp-e556d25{margin-bottom:28px!important}.gspb_text-id-gsbp-1f7e108{margin-top:18px!important}.gspb_text-id-gsbp-1f7e108,.gspb_text-id-gsbp-6719b50{margin-bottom:20px!important}.gspb_text-id-gsbp-d402b40{margin-bottom:28px!important}.gspb_container-id-gsbp-756e077{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-756e077.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-756e077.gspb_container{padding:10px}}#gspb_container-id-gsbp-756e077.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-right-style:solid;border-right-width:5px;border-right-color:#cf2d2d;background-color:#cf2d2d2b}@media (max-width:575.98px){.gspb_text-id-gsbp-ce644ec{font-size:16px}}.gspb_text-id-gsbp-ce644ec{margin-bottom:0!important}.gspb_text-id-gsbp-fe5a36f{margin-bottom:8px!important}.gspb_text-id-gsbp-7a579bd{margin-bottom:20px!important}.gspb_text-id-gsbp-46e036b{margin-bottom:42px!important}.gspb_text-id-gsbp-b68ad6d{margin-bottom:22px!important}.gspb_text-id-gsbp-59f7b2b{margin-top:10px!important;margin-bottom:14px!important}.gspb_text-id-gsbp-10408a3{margin-bottom:12px!important}.gspb_text-id-gsbp-130d464{margin-bottom:14px!important}.gspb_container-id-gsbp-9b86e93{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-9b86e93.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-9b86e93.gspb_container{padding:10px}}#gspb_container-id-gsbp-9b86e93.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-right-style:solid;border-right-width:5px;border-right-color:#cf2d2d;background-color:#cf2d2d2b}@media (max-width:575.98px){.gspb_text-id-gsbp-d1241b3{font-size:16px}}.gspb_text-id-gsbp-d1241b3{margin-bottom:0!important}.gspb_text-id-gsbp-ec4ff9a{margin-top:0!important}.gspb_text-id-gsbp-197f9cc{margin-bottom:26px!important}.gspb_text-id-gsbp-57d7b51{margin-top:18px!important;margin-bottom:16px!important}.gspb_text-id-gsbp-56de62d{margin-top:14px!important;margin-bottom:8px!important}.gspb_text-id-gsbp-f6498d5{margin-bottom:22px!important}.gspb_text-id-gsbp-6c62fee{margin-bottom:26px!important}.gspb_text-id-gsbp-c62d3c4{margin-bottom:28px!important}.gspb_text-id-gsbp-67803f0{margin-top:6px!important;margin-bottom:8px!important}.gspb_text-id-gsbp-c07a2fc{margin-top:8px!important;margin-bottom:12px!important}.gspb_text-id-gsbp-74906f4{margin-top:8px!important;margin-bottom:8px!important}.gspb_text-id-gsbp-6950159{margin-bottom:14px!important}.gspb_text-id-gsbp-2ac00db{margin-top:10px!important;margin-bottom:16px!important}.gspb_text-id-gsbp-2eec144{margin-bottom:20px!important}.gspb_text-id-gsbp-e1270ca{margin-bottom:28px!important}.gspb_text-id-gsbp-9bc7034{margin-bottom:12px!important}.gspb_text-id-gsbp-b26e045{margin-bottom:20px!important}.gspb_text-id-gsbp-ad392c2,.gspb_text-id-gsbp-b23d895{margin-bottom:10px!important}.gspb_text-id-gsbp-0732813{margin-top:0!important;margin-bottom:18px!important}.gspb_text-id-gsbp-5693a59{margin-top:14px!important;margin-bottom:12px!important}.gspb_text-id-gsbp-52d1bae{margin-bottom:18px!important}.gspb_text-id-gsbp-30252ef{margin-top:2px!important}.gspb_text-id-gsbp-30252ef,.gspb_text-id-gsbp-4640a93{margin-bottom:10px!important}.gspb_text-id-gsbp-1e50810{margin-bottom:14px!important}.gspb_text-id-gsbp-bb0ab7a{margin-bottom:4px!important}.gspb_text-id-gsbp-54b712c,.gspb_text-id-gsbp-fab5961{margin-bottom:20px!important}.gspb_text-id-gsbp-f80876b{margin-bottom:32px!important}.gspb_text-id-gsbp-de4e815{margin-bottom:22px!important}.gspb_text-id-gsbp-1eab394{margin-bottom:18px!important}.gspb_text-id-gsbp-f184acf{margin-bottom:22px!important}.gspb_text-id-gsbp-db60481{margin-bottom:20px!important}.gspb_text-id-gsbp-63afa70{margin-bottom:18px!important}.gspb_text-id-gsbp-5e42b77{margin-bottom:16px!important}.gspb_text-id-gsbp-2ddd14b{margin-bottom:12px!important}.gspb_text-id-gsbp-594038c{margin-bottom:24px!important}.gspb_text-id-gsbp-5d36901{margin-top:0!important;margin-bottom:14px!important}.gspb_text-id-gsbp-63d2064{margin-bottom:10px!important}.gspb_text-id-gsbp-0073540{margin-top:10px!important;margin-bottom:18px!important}.gspb_text-id-gsbp-98ea245{margin-bottom:24px!important}.gspb_text-id-gsbp-2d3565d,.gspb_text-id-gsbp-a69a0ec{margin-top:4px!important;margin-bottom:10px!important}.gspb_text-id-gsbp-a69a0ec{margin-top:8px!important}.gspb_text-id-gsbp-15d37d9{margin-bottom:26px!important}.gspb_container-id-gsbp-409cfcc{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-409cfcc.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-409cfcc.gspb_container{padding:10px}}#gspb_container-id-gsbp-409cfcc.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-right-style:solid;border-right-width:5px;border-right-color:#cf2d2d;background-color:#cf2d2d2b}@media (max-width:575.98px){.gspb_text-id-gsbp-dcae3f2{font-size:16px}}.gspb_text-id-gsbp-dcae3f2{margin-bottom:0!important}#gspb_image-id-gsbp-556ad21 img,#gspb_image-id-gsbp-c126acf img{vertical-align:top;display:inline-block;box-sizing:border-box;max-width:100%;height:auto}.gspb_text-id-gsbp-ede5616{margin-top:12px!important;margin-bottom:18px!important}#gspb_heading-id-gsbp-13639bd{margin-bottom:14px}.gspb_text-id-gsbp-f8471bc{margin-bottom:16px!important}.gspb_text-id-gsbp-7db96b4{margin-bottom:30px!important}.gspb_text-id-gsbp-5315454{margin-top:0!important;margin-bottom:20px!important}#gspb_heading-id-gsbp-197f96f,#gspb_heading-id-gsbp-39c7c43,#gspb_heading-id-gsbp-40a08dd,#gspb_heading-id-gsbp-417e10b,#gspb_heading-id-gsbp-433e449,#gspb_heading-id-gsbp-46c9928,#gspb_heading-id-gsbp-8d190a6,#gspb_heading-id-gsbp-927eb81,#gspb_heading-id-gsbp-d67be00{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}.gspb_text-id-gsbp-aaaa525{margin-bottom:18px!important}.gspb_text-id-gsbp-fac1700{margin-bottom:26px!important}.gspb_text-id-gsbp-ecfe0e7{margin-top:20px!important;margin-bottom:14px!important}.gspb_text-id-gsbp-ac2c552{margin-bottom:20px!important}.gspb_text-id-gsbp-3e2ba00{margin-top:0!important}.gspb_text-id-gsbp-58c7c93{margin-bottom:20px!important}.gspb_text-id-gsbp-9dd9c9d{margin-bottom:22px!important}.gspb_text-id-gsbp-b0c9516{margin-bottom:26px!important}.gspb_text-id-gsbp-dcb8ecb{margin-top:26px!important}.gspb_text-id-gsbp-d87b0e0{margin-top:42px!important}.gspb_text-id-gsbp-e5b77be{margin-top:20px!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsclose>.gs-accordion-item__content{overflow:hidden;opacity:0}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsopen>.gs-accordion-item__content{opacity:1;max-height:5000px}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title>.gs-accordion-item__heading{outline:0;text-decoration:none;margin:0!important;padding:0!important;flex-grow:1}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title{z-index:1;margin:0;cursor:pointer;transition:all .3s ease-in-out;position:relative;display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__content{z-index:0;position:relative;max-height:0;will-change:max-height;transition:all .25s ease-out}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title{background-color:var(--wp--preset--color--palette-color-6, var(--theme-palette-color-6, #f2f5f7));border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;font-size:18px;font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item__title>*{font-size:18px;font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsopen>.gs-accordion-item__title{background-color:var(--wp--preset--color--palette-color-5, var(--theme-palette-color-5, #e1e8ed));border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsopen>.gs-accordion-item__title>*{font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__content{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;border-top-style:solid;border-top-width:1px;border-top-color:#00000000}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title span.iconfortoggle{margin-left:15px;display:inline-block;height:14px;width:14px;position:relative}#gspb_accordion-id-gsbp-1c83e2f,#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item{margin-top:5px;margin-bottom:5px}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title{padding:15px 20px;text-align:right;flex-direction:row-reverse}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__content>.gs-accordion-item__text{padding:20px}.gs-accordion .gs-accordion-item.gsopen .gs-accordion-item__title .gs-iconafter{transform:rotate(0)}.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconafter,.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconbefore{content:'';width:14px;height:2px;border-radius:2px;background-color:#111;position:absolute;top:6px;left:0}.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconafter{transform:rotate(90deg);transition:all .3s ease-in-out}","footnotes":""},"categories":[29],"tags":[],"class_list":["post-21653","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server-training"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts\/21653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/comments?post=21653"}],"version-history":[{"count":132,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts\/21653\/revisions"}],"predecessor-version":[{"id":24323,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts\/21653\/revisions\/24323"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/media\/21789"}],"wp:attachment":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/media?parent=21653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/categories?post=21653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/tags?post=21653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}