{"id":3154,"date":"2025-12-19T11:44:23","date_gmt":"2025-12-19T02:44:23","guid":{"rendered":"https:\/\/www.freelifemakers.org\/wordpress\/?p=3154"},"modified":"2026-02-21T15:00:07","modified_gmt":"2026-02-21T06:00:07","slug":"linuxxubuntu-install-openssh","status":"publish","type":"post","link":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/2025\/12\/19\/linuxxubuntu-install-openssh\/","title":{"rendered":"[Linux]Xubuntu\uc5d0 OpenSSH\uc124\uce58\ud558\uae30 \/ Installing OpenSSH on Xubuntu"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\ud83d\udc49\ud83c\udffb1. <strong>OpenSSH \uc11c\ubc84 \uc124\uce58<\/strong> \/ Server Insall<\/h3>\n\n\n\n<p>\u2714\ufe0f\uae30\ubcf8\uc801\uc73c\ub85c Xubuntu\ub294 SSH \uc11c\ubc84\uac00 \uc124\uce58\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<br>\ud130\ubbf8\ub110\uc744 \uc5f4\uace0 \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<p>By default, Xubuntu doesn&#8217;t have an SSH server installed.<br>Open a terminal and run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install openssh-server<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udc49\ud83c\udffb2. <strong>SSH \uc11c\ube44\uc2a4 \uc2dc\uc791 \ubc0f \uc790\ub3d9 \uc2dc\uc791 \uc124\uc815<\/strong><br>Start the SSH service and set it to start automatically.<\/h3>\n\n\n\n<p>\u2714\ufe0f \uc124\uce58 \ud6c4 SSH \uc11c\ube44\uc2a4\uac00 \uc790\ub3d9\uc73c\ub85c \uc2e4\ud589\ub418\uc9c0 \uc54a\ub294 \uacbd\uc6b0 \uc544\ub798\ucc98\ub7fc \uc2e4\ud589\ud558\uace0 \ubd80\ud305 \uc2dc \uc790\ub3d9\uc73c\ub85c \uc2dc\uc791\ub418\uac8c \uc124\uc815\ud569\ub2c8\ub2e4.<br>If the SSH service does not start automatically after installation, run it as shown below and set it to start automatically at boot time.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable --now ssh<\/code><\/pre>\n\n\n\n<p>\u2714\ufe0f \uc124\uce58 \ud6c4 \uc11c\ube44\uc2a4 \uc0c1\ud0dc \ud655\uc778\ud558\uae30<br>Check service status after installation<\/p>\n\n\n\n<p>\u2714\ufe0f <code>active (running)<\/code> \uc0c1\ud0dc\uc774\uba74 SSH\uac00 \uc798 \uc2e4\ud589 \uc911\uc778 \uac83\uc785\ub2c8\ub2e4.<br>If it is active (running), SSH is running properly.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl status ssh<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udc49\ud83c\udffb3. <strong>\ubc29\ud654\ubcbd \uc124\uc815 (UFW)<\/strong> \/ Firewall Settings (UFW)<\/h3>\n\n\n\n<p>\u2714\ufe0f UFW(Uncomplicated Firewall)\ub97c \uc0ac\uc6a9 \uc911\uc774\ub77c\uba74 SSH \uc5f0\uacb0\uc744 \ud5c8\uc6a9\ud574\uc918\uc57c \ud569\ub2c8\ub2e4:<br>If you are using UFW (Uncomplicated Firewall), you will need to allow SSH connections:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ufw allow ssh<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udc49\ud83c\udffb4. <strong>(\uc120\ud0dd) SSH \uc124\uc815 \ubcc0\uacbd<\/strong> \/ (Optional) Change SSH settings<\/h3>\n\n\n\n<p>\u2714\ufe0f \uae30\ubcf8 \uc124\uc815\uc740 \ubcf4\ud1b5 \ubb38\uc81c \uc5c6\uc774 \ub3d9\uc791\ud558\uc9c0\ub9cc, \ud544\uc694\ud558\ub2e4\uba74 \uc124\uc815 \ud30c\uc77c <code>\/etc\/ssh\/sshd_config<\/code> \ub97c \ud3b8\uc9d1\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br>The default configuration usually works without any problems, but if necessary, you can edit the configuration file \/etc\/ssh\/sshd_config <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/ssh\/sshd_config<\/code><\/pre>\n\n\n\n<p>\u2714\ufe0f \uc608\ub97c \ub4e4\uc5b4 <strong>root \uacc4\uc815 \uc811\uc18d \ud5c8\uc6a9<\/strong>\uc744 \ubc14\uafb8\uac70\ub098 <strong>\ud3ec\ud2b8 \ubcc0\uacbd<\/strong> \ub4f1\uc744 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubcc0\uacbd \ud6c4\uc5d0\ub294 \uc11c\ube44\uc2a4 \uc7ac\uc2dc\uc791 \ud569\ub2c8\ub2e4.<br>For example, you can change root account access permissions, change ports, etc. After making changes, restart the service.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl restart ssh<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udc49\ud83c\udffb5. <strong>\uc811\uc18d \ud14c\uc2a4\ud2b8<\/strong> \/ Connection test<\/h3>\n\n\n\n<p>\u2714\ufe0f \ud130\ubbf8\ub110\uc5d0\uc11c \ub2e4\ub978 \ucef4\ud4e8\ud130\uc5d0\uc11c \ub2e4\uc74c\ucc98\ub7fc \uc811\uc18d\ud574 \ubd05\ub2c8\ub2e4<br>Try connecting from another computer in the terminal as follows<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh \uc0ac\uc6a9\uc790\uba85\/username@Xubuntu_IP address<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"613\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/ssh-terminal-jpg-1024x613.jpg\" alt=\"\" class=\"wp-image-4664\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/ssh-terminal-jpg-1024x613.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/ssh-terminal-jpg-300x179.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/ssh-terminal-jpg-768x459.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/ssh-terminal-jpg-400x239.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/ssh-terminal-jpg-800x479.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/ssh-terminal-jpg.jpg 1150w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Terminal Connection<\/figcaption><\/figure>\n\n\n\n<p>\u2714\ufe0f ssh \uac00 \uc124\uce58\ub418\uba74 sftp\ub97c \uc0ac\uc6a9 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br>Once ssh is installed, you can use sftp.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"583\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_1-1024x583.jpg\" alt=\"\" class=\"wp-image-4656\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_1-1024x583.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_1-300x171.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_1-768x437.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_1-1536x874.jpg 1536w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_1-2048x1165.jpg 2048w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_1-1870x1064.jpg 1870w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_1-400x228.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_1-800x455.jpg 800w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Sftp Connection &#8211; 1<\/figcaption><\/figure>\n\n\n\n<p>\u2714\ufe0f FileZilla Sftp \uc811\uc18d \uc644\ub8cc<br>FileZilla Sftp connection completed<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"532\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_2-1024x532.jpg\" alt=\"\" class=\"wp-image-4657\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_2-1024x532.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_2-300x156.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_2-768x399.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_2-1536x798.jpg 1536w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_2-2048x1064.jpg 2048w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_2-1870x972.jpg 1870w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_2-400x208.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2025\/12\/sftp-jpg_2-800x416.jpg 800w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Sftp Connection &#8211; 2<\/figcaption><\/figure>\n\n\n\n<p>\u2b50\ufe0f \uc11c\ubc84\uc758 \uc544\uc774\ud53c \uc8fc\uc18c\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \ud655\uc778 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br>You can check the server&#8217;s IP address as follows<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ip a<\/code><\/pre>\n\n\n\n<p>\ub610\ub294 \/ or<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostname -I<\/code><\/pre>\n\n\n\n<p>\u2b50\ufe0f \ud574\ub2f9 \uc544\uc774\ud53c \uc8fc\uc18c\uc5d0 \uc5f0\uacb0\ub418\ub294\uc9c0 \ud655\uc778 \ud558\ub824\uba74 \uc544\ub798\ucc98\ub7fc ping\uc744 \uc0ac\uc6a9\ud558\uc2dc\uba74\ub429\ub2c8\ub2e4.<br>To check if you can connect to that IP address, you can use ping as shown below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ping IPAddresss<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udc49\ud83c\udffb1. OpenSSH \uc11c\ubc84 \uc124\uce58 \/ Server Insall \u2714\ufe0f\uae30\ubcf8\uc801\uc73c\ub85c Xubuntu\ub294 SSH \uc11c\ubc84\uac00 \uc124\uce58\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.\ud130\ubbf8\ub110\uc744 \uc5f4\uace0 \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud569\ub2c8\ub2e4. By default, Xubuntu doesn&#8217;t have an SSH server installed.Open a terminal and run the following command: \ud83d\udc49\ud83c\udffb2. SSH \uc11c\ube44\uc2a4 \uc2dc\uc791 \ubc0f \uc790\ub3d9 \uc2dc\uc791 \uc124\uc815Start the SSH service and set it to start automatically. \u2714\ufe0f \uc124\uce58 \ud6c4 SSH [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,1],"tags":[],"class_list":["post-3154","post","type-post","status-publish","format-standard","hentry","category-linux","category-uncategorized","missing-thumbnail"],"_links":{"self":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=3154"}],"version-history":[{"count":40,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3154\/revisions"}],"predecessor-version":[{"id":4712,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3154\/revisions\/4712"}],"wp:attachment":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=3154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=3154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=3154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}