{"id":1216,"date":"2017-10-31T02:59:51","date_gmt":"2017-10-31T00:59:51","guid":{"rendered":"https:\/\/community.virtono.com\/?p=1216"},"modified":"2020-06-10T16:42:47","modified_gmt":"2020-06-10T13:42:47","slug":"samba-server-basics","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-server-basics\/","title":{"rendered":"Samba server basics"},"content":{"rendered":"<p>A\u00a0<b>Samba server<\/b>\u00a0supports the integration of\u00a0<b>Windows and Unix \/ Linux computers<\/b>\u00a0.\u00a0For example,\u00a0<b>files can be<\/b>\u00a0exchanged or\u00a0<b>printers can be<\/b>\u00a0shared.\u00a0The name Samba originates from the\u00a0<i><b>Server Message Block<\/b><\/i>\u00a0(SMB) protocol\u00a0, which is used in Windows for network-based data exchange.\u00a0Currently, instead of SMB again and again from the &#8221;\u00a0<i><b>Common Internet File System<\/b><\/i>\u00a0&#8221; (CIFS) spoken.\u00a0CIFS is an evolution of SMB and was originally developed by Microsoft.<\/p>\n<p>Detailed information about Samba \/ CIFS in German is available online from Oreilly.\u00a0It is accessible under\u00a0Oreilly Samba 2nd edition\u00a0.\u00a0In addition, the Ubuntu community provides detailed documentation regarding Samba:\u00a0Samba Community\u00a0.\u00a0This article introduces the basics of using a Samba server\u00a0set up\u00a0on an\u00a0<b>Ubuntu 10.04 LTS<\/b>\u00a0.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-server-basics\/#server\" title=\"server\">server<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-server-basics\/#installation\" title=\"installation\">installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-server-basics\/#configuration\" title=\"configuration\">configuration<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-server-basics\/#Network_interfaces\" title=\"Network interfaces\">Network interfaces<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-server-basics\/#Add_smb_password\" title=\"Add smb password\">Add smb password<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-server-basics\/#Add_a_resource\" title=\"Add a resource\">Add a resource<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-server-basics\/#client\" title=\"client\">client<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-server-basics\/#installation-2\" title=\"installation\">installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-server-basics\/#Insert_smb_share\" title=\"Insert smb share\">Insert smb share<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"server\"><\/span><span id=\"Server\" class=\"mw-headline\">server<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"installation\"><\/span><span id=\"Installation\" class=\"mw-headline\">installation<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>On the server, the samba package is\u00a0installed, so that a file and print server can be set up:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>apt-get install samba\r\n<\/pre>\n<\/div>\n<h3><span class=\"ez-toc-section\" id=\"configuration\"><\/span><span id=\"Konfiguration\" class=\"mw-headline\">configuration<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The central configuration file can be found at<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>sudo vi \/etc\/samba\/smb.conf\r\n<\/pre>\n<\/div>\n<p>again.\u00a0A number of information on how to configure the Samba server using this file is provided by the associated man page:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>smb.conf\r\n<\/pre>\n<\/div>\n<p>The file is divided into several sections.\u00a0The global section ([global]) contains the basic settings, this can be followed by other sections for the release of resources.<\/p>\n<p>As the first configuration step, the following line is commented out in the &#8220;Authentication&#8221; section:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre><span class=\"c1\"># \"security = user\" is always a good idea. This will require a Unix account <\/span>\r\n<span class=\"c1\"># in this server for every user accessing the server. See <\/span>\r\n<span class=\"c1\"># \/usr\/share\/doc\/samba-doc\/htmldocs\/Samba3-HOWTO\/ServerType.html <\/span>\r\n<span class=\"c1\"># in the samba-doc package for details. <\/span>\r\n   <span class=\"nv\">security <\/span> <span class=\"o\">=<\/span> user\r\n<\/pre>\n<\/div>\n<p>These security measures require an existing user on the server to access the Samba shares.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Network_interfaces\"><\/span><span id=\"Netzwerk-Interfaces\" class=\"mw-headline\">Network interfaces<\/span><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>If your server has several network interfaces, it may be that the smb server is bound to the wrong interface.\u00a0To do this, in the &#8220;[global]&#8221; area of the smb.conf, the line<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre><span class=\"nv\">interfaces <\/span> <span class=\"o\">=<\/span> 192.168.1.1\/24\r\n<\/pre>\n<\/div>\n<p>be inserted.\u00a0In this example, the smb server listens for the address range in the 192.168.1.1\/24 network.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Add_smb_password\"><\/span><span id=\"smb-Passwort_hinzuf.C3.BCgen\" class=\"mw-headline\">Add smb password<\/span><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>The following command creates an smb password for the existing user &#8220;smbuser&#8221;.\u00a0The fact that this step is carried out for an existing user is important because every smb user needs a valid account on the server.\u00a0With the assigned password the smb-share can be accessed later:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>sudo smbpasswd -a smbuser\r\n<\/pre>\n<\/div>\n<p>Since the smb password does not have to match the password of the actual account, it can be quite complex to manage the different passwords.\u00a0Under Ubuntu there is the package &#8220;libpam-smbpass&#8221;, which can be used to keep the Linux and smb passwords in sync.<\/p>\n<p>For changes to take effect, the server must reload the configuration:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>sudo service smbd reload\r\n<\/pre>\n<\/div>\n<p>Previously, the modified settings can also be checked for correctness:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>testparm \/etc\/samba\/smb.conf\r\n<\/pre>\n<\/div>\n<h3><span class=\"ez-toc-section\" id=\"Add_a_resource\"><\/span><span id=\"Eine_Ressource_hinzuf.C3.BCgen\" class=\"mw-headline\">Add a resource<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The following configuration example releases the home directories of the smb users.\u00a0The first step is to add a new resource in the smb.conf file:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>sudo vi \/etc\/samba\/smb.conf\r\n<\/pre>\n<\/div>\n<p>For this purpose, the following section is commented out:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre><span class=\"c1\"># Un-comment the following (and tweak the other settings below to suit) <\/span>\r\n<span class=\"c1\">. This will share each <\/span>\r\n<span class=\"c1\"># user's home directory as \\\\ server \\ username <\/span>\r\n<span class=\"o\">[<\/span> homes <span class=\"o\">] <\/span>\r\n   <span class=\"nv\">comment <\/span> <span class=\"o\">=<\/span> Home Directories\r\n    <span class=\"nv\">browseable <\/span> <span class=\"o\">=<\/span> yes\r\n<\/pre>\n<\/div>\n<p>Now the home directories are accessible to all users, ie the users can access each other&#8217;s user directories (assuming of course that an smb password has been set and the user thus has access to the smb server).\u00a0The browseable parameter allows Windows users to browse the Samba share using Windows Explorer.\u00a0To be more restrictive about the home directories, the following line can be commented out:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre><span class=\"c1\"># By default, \\\\ server \\ username shares can be connected to anyone <\/span>\r\n<span class=\"c1\"># with access to the samba server. Un-comment the following parameter <\/span>\r\n<span class=\"c1\"># to make sure that only \"username\" can connect to \\\\ server \\ username <\/span>\r\n<span class=\"c1\"># This might need tweaking when using external authentication schemes<\/span> \r\n   valid <span class=\"nv\">users <\/span> <span class=\"o\">=<\/span> % S\r\n<\/pre>\n<\/div>\n<p>Then, for example, the user &#8220;tktest&#8221; no longer accesses the home directory of &#8220;smbuser&#8221; (from the client&#8217;s point of view):<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>sudo mount -t smbfs \/\/192.168.56.101\/smbuser \/ media \/ -o <span class=\"nv\">username <\/span><span class=\"o\">=<\/span> tktest\r\nPassword: \r\nmount error <span class=\"o\">(<\/span> 13 <span class=\"o\">)<\/span> : Permission denied\r\n<\/pre>\n<\/div>\n<p>Further security measures are presented eg under\u00a0Samba Security\u00a0(help.ubuntu.com) or\u00a0Securing samba\u00a0(samba.org).<\/p>\n<h2><span class=\"ez-toc-section\" id=\"client\"><\/span><span id=\"Client\" class=\"mw-headline\">client<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"installation-2\"><\/span><span id=\"Installation_2\" class=\"mw-headline\">installation<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The client requires the following package to access the smb server:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>sudo apt-get install smbfs smbclient\r\n<\/pre>\n<\/div>\n<p>With the smbclient a first connection test can be carried out:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>smbclient -U smbuser -L 192.168.56.101\r\n<\/pre>\n<\/div>\n<h3><span class=\"ez-toc-section\" id=\"Insert_smb_share\"><\/span><span id=\"smb-Share_einh.C3.A4ngen\" class=\"mw-headline\">Insert smb share<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>With the mount command, the smb directory can then be integrated locally:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>sudo mount -t cifs \/\/192.168.56.101\/smbuser\/media\/ -o <span class=\"nv\">username <\/span><span class=\"o\">=<\/span> smbuser\r\n<\/pre>\n<\/div>\n<p>After this command, the smb directory is accessible from \/ media \/.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A\u00a0Samba server\u00a0supports the integration of\u00a0Windows and Unix \/ Linux computers\u00a0.\u00a0For example,\u00a0files can be\u00a0exchanged or\u00a0printers can be\u00a0shared.\u00a0The name Samba originates from the\u00a0Server Message Block\u00a0(SMB) protocol\u00a0, which is used in Windows for network-based data exchange.\u00a0Currently, instead of SMB again and again from the &#8221;\u00a0Common Internet File System\u00a0&#8221; (CIFS) spoken.\u00a0CIFS is an evolution<\/p>\n","protected":false},"author":4,"featured_media":1217,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3],"tags":[],"class_list":["post-1216","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial-how-to"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/samba-6.jpg?fit=804%2C541&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-jC","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1345,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-sharing-with-authentication\/","url_meta":{"origin":1216,"position":0},"title":"Samba sharing with authentication","author":"Shreyash Sharma","date":"February 22, 2018","format":false,"excerpt":"Complementing a simple Samba release, this article shows how to\u00a0create a username and password based Samba share\u00a0using a\u00a0Debian\u00a08 based system.\u00a0Ubuntu\u00a016.04 and Windows 10 are used\u00a0as client software for testing the connection\u00a0. \u00a0 Installation and configuration on the Debian server These following sections show the necessary configuration steps on the Debian\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2018\/02\/Samba-Schema.gif?fit=450%2C300&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1198,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/do-not-start-samba-automatically-on-ubuntu\/","url_meta":{"origin":1216,"position":1},"title":"Do not start Samba automatically on Ubuntu","author":"Shreyash Sharma","date":"October 27, 2017","format":false,"excerpt":"Samba - the server service for providing Windows file and print sharing - automatically launches after each Ubuntu 10.10 installation.\u00a0However, if you need the Samba Server on your Ubuntu Desktop system only sporadically, you can\u00a0disable\u00a0the\u00a0automatic startup of Samba\u00a0. Upstart configuration Samba starts in Ubuntu 10.10 via Upstart when booting the\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/sambahero.jpg?fit=770%2C602&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/sambahero.jpg?fit=770%2C602&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/sambahero.jpg?fit=770%2C602&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/sambahero.jpg?fit=770%2C602&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1219,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/samba-server-security\/","url_meta":{"origin":1216,"position":2},"title":"Samba server security","author":"Shreyash Sharma","date":"October 31, 2017","format":false,"excerpt":"This article gives an\u00a0overview\u00a0of the possibilities of some\u00a0security settings of\u00a0a Samba server.\u00a0With regard to security, of course, there are always different options, some of which lead to the same goal.\u00a0This article shows those configuration parameters that can sometimes be used to take simple but effective security measures.\u00a0The settings were all\u00a0tested\u00a0on\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2144,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/the-best-linux-distributions-for-old-hardware\/","url_meta":{"origin":1216,"position":3},"title":"The best Linux distributions for old hardware","author":"Shreyash Sharma","date":"December 15, 2020","format":false,"excerpt":"There is no hardware for which a working Linux is not available.\u00a0Finding the right role for old hardware and the right board and system for a planned role is still complicated. For a practical presentation, almost each of the following aspects would have deserved its own workshop.\u00a0This entry-level contribution to\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/Which-Distro1.png?fit=705%2C273&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/Which-Distro1.png?fit=705%2C273&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/Which-Distro1.png?fit=705%2C273&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/Which-Distro1.png?fit=705%2C273&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3492,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-and-configure-mail-server-on-ubuntu\/","url_meta":{"origin":1216,"position":4},"title":"How to Install and Configure Mail Server on Ubuntu","author":"George B.","date":"June 11, 2023","format":false,"excerpt":"Setting up a mail server on Ubuntu can be a daunting task for many, but with the right guidance and understanding, it becomes an achievable goal. In this article, we will provide a step-by-step guide on how to install and configure a mail server on Ubuntu. By the end, you'll\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-Mail-Server-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-Mail-Server-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-Mail-Server-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3330,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-set-up-ssh-keys-on-ubuntu-20-04\/","url_meta":{"origin":1216,"position":5},"title":"How to Set Up SSH Keys on Ubuntu 20.04","author":"George B.","date":"April 27, 2023","format":false,"excerpt":"In this tutorial, we will learn how to set up SSH keys on Ubuntu 20.04. Secure Shell (SSH) is a protocol used to securely connect to a remote server or computer. It provides a secure way to transfer files, execute remote commands, and manage remote systems. SSH keys are a\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-Set-Up-SSH-Keys-on-Ubuntu-20.04.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-Set-Up-SSH-Keys-on-Ubuntu-20.04.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-Set-Up-SSH-Keys-on-Ubuntu-20.04.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=1216"}],"version-history":[{"count":1,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1216\/revisions"}],"predecessor-version":[{"id":1218,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1216\/revisions\/1218"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/1217"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=1216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=1216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=1216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}