{"id":1158,"date":"2017-10-24T11:32:09","date_gmt":"2017-10-24T08:32:09","guid":{"rendered":"https:\/\/community.virtono.com\/?p=1158"},"modified":"2020-06-10T16:46:13","modified_gmt":"2020-06-10T13:46:13","slug":"openssh-public-key-authentication-under-ubuntu","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/openssh-public-key-authentication-under-ubuntu\/","title":{"rendered":"OpenSSH public key authentication under Ubuntu"},"content":{"rendered":"<p>This article shows how\u00a0<b>SSH access is<\/b>\u00a0configured\u00a0for\u00a0<b>public-key<\/b>\u00a0authentication\u00a0.\u00a0To do so, a key pair is created on the client, the public part of the keys are transferred to the server, and the server is set up for key authentication.\u00a0The user can log on to the server without a login password, only the password is required to protect the private key.\u00a0The operating systems used in this article are, on the one hand, an\u00a0<b>Ubuntu 12.10 on the client<\/b>\u00a0and on the other side an\u00a0<b>Ubuntu 12.04 on the server<\/b>\u00a0.\u00a0The instructions were also\u00a0tested\u00a0under\u00a0<b>Ubuntu 16.04 as client and server<\/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\/openssh-public-key-authentication-under-ubuntu\/#On_the_client\" title=\"On the client\">On the client<\/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\/openssh-public-key-authentication-under-ubuntu\/#Generate_key_pair\" title=\"Generate key pair\">Generate key pair<\/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\/openssh-public-key-authentication-under-ubuntu\/#Public_Transfer_key_to_server\" title=\"Public.\u00a0Transfer key to server\">Public.\u00a0Transfer key to server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/openssh-public-key-authentication-under-ubuntu\/#Test_the_key_authentication\" title=\"Test the key authentication\">Test the key authentication<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/openssh-public-key-authentication-under-ubuntu\/#On_the_server\" title=\"On the server\">On the server<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/openssh-public-key-authentication-under-ubuntu\/#sshd_configuration\" title=\"sshd configuration\">sshd configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/openssh-public-key-authentication-under-ubuntu\/#Authenticate_password_authentication_for_one_user_only\" title=\"Authenticate password authentication for one user only\">Authenticate password authentication for one user only<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"On_the_client\"><\/span><span id=\"Am_Client\" class=\"mw-headline\">On the client<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Generate_key_pair\"><\/span><span id=\"Schl.C3.BCsselpaar_generieren\" class=\"mw-headline\">Generate key pair<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The first step involves\u00a0<code>ssh-keygen<\/code>creating\u00a0a key pair with the client\u00a0.\u00a0A bit length of 4096 bits is selected for the RSA keys:<\/p>\n<pre>: ~ $ ssh-keygen -b 4096\r\nGenerating public \/ private rsa key pair.\r\nEnter file in whichever key (\/home\/gschoenb\/.ssh\/id_rsa): \/home\/gschoenb\/.ssh\/key_rsa\r\nEnter passphrase (empty for no passphrase): \r\nEnter same passphrase again: \r\nYour identification has been saved in \/home\/gschoenb\/.ssh\/key_rsa.\r\nYour public key has been saved in \/home\/gschoenb\/.ssh\/key_rsa.pub.\r\nThe key fingerprint is:\r\n20: 69: c5: c3: e2: 2d: a8: 09: 49: b9: d9: ee: ca: f9: 45: 5e gschoenb @ gschoenb-X220\r\nThe key's random type image is:\r\n+ - [RSA 4096] ---- +\r\n| , o. |\r\n| o .o + |\r\n| .. + o + o .. |\r\n| oo.oo ... |\r\n| .o. o ES |\r\n| o .o. |\r\n| , o |\r\n|. ... |\r\n| + O. |\r\n+ ----------------- +\r\n: ~ $ ls .ssh \/\r\nid_rsa id_rsa.pub key_rsa key_rsa.pub known_hosts known_hosts.old\r\n<\/pre>\n<p><b>Caution:<\/b>\u00a0For security reasons it is recommended to protect the key with a passphrase.\u00a0This means that the key is not in the plaintext, but is encrypted AES-CBC:<\/p>\n<pre>: ~ $ cat .ssh \/ key_rsa\r\n----- BEGIN RSA PRIVATE KEY -----\r\nProc Type: 4, ENCRYPTED\r\nDEK info: AES-128-CBC, 426FD49B9F6277AC00D62B08547D5FDE\r\n[...]\r\n<\/pre>\n<p>If the private key is stolen by an attacker, the key has to find the password of the key in order to access the server with the key.\u00a0When a key is present in the plaintext, an attacker can access the server directly with a stolen key.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Public_Transfer_key_to_server\"><\/span><span id=\".C3.96ffentl._Schl.C3.BCssel_auf_Server_.C3.BCbertragen\" class=\"mw-headline\">Public.\u00a0Transfer key to server<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>For the transfer of the public key to the server, the SSH connection is still used in the first step by means of password authentication.\u00a0The tool\u00a0<code>ssh-copy-id<\/code>copies the corresponding Idendity file to the server:<\/p>\n<pre>: ~ $ ssh-copy-id -i .ssh \/ key_rsa.pub tktest@192.168.56.101\r\ntktest@192.168.56.101's password: \r\nNow try logging into the machine with ssh 'tktest@192.168.56.101', and check in:\r\n\r\n  ~ \/ .ssh \/ authorized_keys\r\n\r\nto make sure that you have not been expecting.\r\n<\/pre>\n<p>The above procedure has\u00a0created the following entry\u00a0<b>on the server<\/b>\u00a0in the file\u00a0<code>\/home\/tktest\/.ssh\/authorized_keys<\/code>:<\/p>\n<pre>: ~ $ cat .ssh \/ authorized_keys \r\nssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC7qmegDxzv1omqG2cWM + i + qaEGzCoSBwqCeXyGUU93sTqtNYYHJVGj6YZqXeXEGzJtKm2A \/ uo59Y + WmqhJgW7HcT2Hqvo80NfbIRhqE9TJETyBe\r\nGiiC8qpiYgPC2zigCNvTsRXh0CH5FJ1qy4QEBjztQDWOqSrsoOSJEEWCJiKJizTiXDmlGdiKE409GBo8lvlbMRWbrMj3iX825WTqy \/ T0Pio1kqANDotLnPA0sRXUPVyzc \/ ghzqRHzFetzP9j7C0nh\r\nEvjiJphiuYvhbgix79FrCQG0lXBGcAWzsWUeAoT \/ d3kQu79 + + UTWxm z4pnJ7gkKVMejqrWys560SdAqD264dc5UBRGI9j6XxVKdraSaEitDneONrSAt2tE \/ RwRxh2ASxqQfdF88zyDI8 \/ ma608tHc\r\nFROaNsn5hF + \/ wzjRK9akdhp5WjA5HXhg2OlkwKvSMhGlSgotRj5pr4Ebxjegysy1mEWRFN \/ vh \/ oNq4uHQy8adpfogaVELkI \/ Z2nuAdQk + uMy6D1hrKhUWubmBPxTbG00IWF25Tyuz8hnFRP9 + gB \/ P\r\nNRlF59 \/ EHy27a72nirvuOyfxKnx \/ Mn + FD9Ah59OSLhWuo3sN9Im8yc2cliecwMz + DmTtE7TwzNw9v2zfxU9JDQwyLtppULiGpmKFOLHjz + SVGxSbVsWS \/\/ IyNK1GrQ == gschoenb @ gschoenb-X220\r\n<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Test_the_key_authentication\"><\/span><span id=\"Testen_der_Key-Authentifizierung\" class=\"mw-headline\">Test the key authentication<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>After the public.\u00a0Key on the server, the connection can be tested from the client.\u00a0It is important that you\u00a0<b>do not<\/b>\u00a0ask for the user&#8217;s password on the server, but the passphrase with which the key is protected is required!<\/p>\n<pre>: ~ $ ssh -i .ssh \/ key_rsa tktest@192.168.56.101\r\n<\/pre>\n<div class=\"center\">\n<div class=\"floatnone\">After entering the password with which the key was protected during the creation process, you are authenticated to the system:<\/div>\n<\/div>\n<pre>: ~ $ ssh -i .ssh \/ key_rsa tktest@192.168.56.101\r\nWelcome to Ubuntu 12.04.1 LTS (GNU \/ Linux 3.2.0-23-generic x86_64)\r\n\r\n * Documentation: https:\/\/help.ubuntu.com\/\r\n\r\n  System information as of Thu Jan 17 13:51:19 CET 2013\r\n[...]\r\n<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"On_the_server\"><\/span><span id=\"Am_Server\" class=\"mw-headline\">On the server<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"sshd_configuration\"><\/span><span id=\"sshd-Konfiguration\" class=\"mw-headline\">sshd configuration<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Basically it is sufficient under Ubuntu to perform the above-mentioned procedure for public-key authentication.\u00a0In some situations, it makes sense to completely disable password authentication.<\/p>\n<p><b>Note:<\/b>\u00a0After changing the following setting, it is no longer possible to log in with a password via ssh:\u00a0<code>PasswordAuthentication no<\/code>.<\/p>\n<pre>: ~ $ sudo diff \/ etc \/ ssh \/ sshd_config \/etc\/ssh\/sshd_config.orig\r\n51c51\r\n&lt;PasswordAuthentication no\r\n---\r\n&gt; #PasswordAuthentication yes\r\n<\/pre>\n<p>The connection is tested again\u00a0from the\u00a0<b>client<\/b>\u00a0:<\/p>\n<pre>: ~ $ ssh -i .ssh \/ key_rsa tktest@192.168.56.101\r\nAgent indicated failure to sign using the key.\r\nPermission denied (publickey).\r\n<\/pre>\n<p>In the above example, the dialog for entering the key password was aborted.\u00a0Since login was deactivated via a password, it was not possible to log on to the system.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Authenticate_password_authentication_for_one_user_only\"><\/span><span id=\"Passwort-Authentifizierung_nur_f.C3.BCr_einen_User_verbieten\" class=\"mw-headline\">Authenticate password authentication for one user only<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Another way to disable password authentication is to disable password logon for specific users.\u00a0For example, a user who does not have a sudo privilege on the server can log on to the server.\u00a0In order to gain root privileges, a user with sudo rights must be found.\u00a0In addition, there is the possibility to exclude users completely from ssh:<\/p>\n<pre>: ~ $ sudo diff \/ etc \/ ssh \/ sshd_config \/etc\/ssh\/sshd_config.orig\r\n88,91d87\r\n&lt; \r\n&lt;DenyUsers test\r\n&lt;Match User tktest\r\n&lt;PasswordAuthentication no\r\n<\/pre>\n<p>This example:<\/p>\n<ul>\n<li>Prohibits SSH access for the user\u00a0<code>test<\/code><\/li>\n<li>Disables password authentication for the user\u00a0<code>tktest<\/code><\/li>\n<li>Password authentication is retained for all other users.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This article shows how\u00a0SSH access is\u00a0configured\u00a0for\u00a0public-key\u00a0authentication\u00a0.\u00a0To do so, a key pair is created on the client, the public part of the keys are transferred to the server, and the server is set up for key authentication.\u00a0The user can log on to the server without a login password, only the password<\/p>\n","protected":false},"author":4,"featured_media":1159,"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-1158","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\/openssh.gif?fit=578%2C191&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-iG","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1253,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/unlock-full-encrypted-system-via-ssh\/","url_meta":{"origin":1158,"position":0},"title":"Unlock full-encrypted system via SSH","author":"Daniel Draga","date":"November 9, 2017","format":false,"excerpt":"A complete encryption of your own system is an excellent way to ensure the confidentiality of your own data.\u00a0The current Ubuntu installer offers a guided installation to encrypt the entire system with \"\u00a0encrypted LVMs\u00a0\".\u00a0For both the automated installation and the manual way, there are numerous detailed guides that explain 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\/11\/dropbear-logo-walking_700_726_FFFFFF_c1.jpg?fit=700%2C726&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/dropbear-logo-walking_700_726_FFFFFF_c1.jpg?fit=700%2C726&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/dropbear-logo-walking_700_726_FFFFFF_c1.jpg?fit=700%2C726&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/dropbear-logo-walking_700_726_FFFFFF_c1.jpg?fit=700%2C726&ssl=1&resize=700%2C400 2x"},"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":1158,"position":1},"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":[]},{"id":1250,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/restrict-executable-ssh-commands-with-authorized-keys\/","url_meta":{"origin":1158,"position":2},"title":"Restrict executable SSH commands with authorized keys","author":"Daniel Draga","date":"November 9, 2017","format":false,"excerpt":"The\u00a0OpenSSH\u00a0Secure Shell Server provides secure, encrypted remote access to Linux and Unix systems.\u00a0The server side is the file\u00a0authozired_keys\u00a0in\u00a0.ssh\u00a0a user's primary folder to configure a\u00a0public-key authentication\u00a0.\u00a0Normally, a user gets\u00a0full access\u00a0to the system where the authentication was set up.\u00a0However, in some cases, such as automated backup operations, it makes sense to restrict\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\/11\/Putty2_1.png?fit=675%2C424&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/Putty2_1.png?fit=675%2C424&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/Putty2_1.png?fit=675%2C424&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1157,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/ssh-key-login\/","url_meta":{"origin":1158,"position":3},"title":"SSH Key Login","author":"Shreyash Sharma","date":"October 24, 2017","format":false,"excerpt":"Note:\u00a0This article applies to older SSH versions (SSH version 1).\u00a0For the latest information on SSH key logins, see\u00a0OpenSSH Public Key Authentication under Ubuntu\u00a0. SSH Config for SSH Key customize On the remote server, the \/ Etc \/ ssh \/ sshd_config to be edited.\u00a0Change the following values: current: RSAAuthentification yes New:\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\/public-key-auth-workflow.png?fit=632%2C696&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/public-key-auth-workflow.png?fit=632%2C696&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/public-key-auth-workflow.png?fit=632%2C696&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":415,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-build-openvpn-server-on-ubuntu\/","url_meta":{"origin":1158,"position":4},"title":"HOW TO BUILD OPENVPN SERVER ON UBUNTU","author":"Daniel Draga","date":"August 13, 2016","format":false,"excerpt":"This article will show you how to install and setup OpenVPN server on Ubuntu 14.04, with pictures, just follow along, and if you encounter any trouble, just comment below. Before we dive in the steps, here is a little VPN and OpenVPN\u2019s basic definitions for you. What is VPN and\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\/2016\/08\/picc.png?fit=400%2C300&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1222,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/upload-your-own-ubuntu-packages-to-the-reprepro-repository\/","url_meta":{"origin":1158,"position":5},"title":"Upload your own Ubuntu packages to the reprepro repository","author":"Shreyash Sharma","date":"November 2, 2017","format":false,"excerpt":"The following article shows the\u00a0uploading\u00a0of own Ubuntu packages in a\u00a0reprepro\u00a0repository.\u00a0The packages are transferred by\u00a0dupload\u00a0via scp to a folder on the repository server where they are processed by reprepro via an inoticoming job.\u00a0In the examples shown, the client is an Ubuntu 12.10, on the server is an\u00a0Ubuntuwith kernel 3.2.0-38 generic. How\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\/11\/debian_ubuntu_package.png?fit=245%2C270&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1158","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=1158"}],"version-history":[{"count":2,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1158\/revisions"}],"predecessor-version":[{"id":1165,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1158\/revisions\/1165"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/1159"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=1158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=1158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=1158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}