{"id":2534,"date":"2022-01-09T21:31:55","date_gmt":"2022-01-09T18:31:55","guid":{"rendered":"https:\/\/www.etemkeskin.com\/?p=2534"},"modified":"2022-01-09T21:33:56","modified_gmt":"2022-01-09T18:33:56","slug":"ubuntu-linux-server-makinesinde-yeni-kullanici-olusturma-ve-kullanici-bilgisi-ve-parola-kullanarak-ssh-baglantisi-yapma","status":"publish","type":"post","link":"https:\/\/www.etemkeskin.com\/index.php\/tr\/2022\/01\/09\/ubuntu-linux-server-makinesinde-yeni-kullanici-olusturma-ve-kullanici-bilgisi-ve-parola-kullanarak-ssh-baglantisi-yapma\/","title":{"rendered":"Ubuntu Linux Server Makinesinde Yeni Kullan\u0131c\u0131 Olu\u015fturma ve Kullan\u0131c\u0131 Bilgisi ve Parola Kullanarak SSH Ba\u011flant\u0131s\u0131 Yapma"},"content":{"rendered":"\n<p>Bu yaz\u0131da Linux makinesinde yeni bir <strong>kullan\u0131c\u0131<\/strong> olu\u015fturarak bu makineye  <strong>kullan\u0131c\u0131 bilgisi <\/strong>ve <strong>parola<\/strong> ile uzaktan nas\u0131l ba\u011flan\u0131laca\u011f\u0131n\u0131 anlataca\u011f\u0131m. Bu yaz\u0131da kullan\u0131lan Linux server makinesi <strong>Ubuntu 20.04<\/strong> versiyonu y\u00fckl\u00fcd\u00fcr. <\/p>\n\n\n\n<p>\u0130lk \u00f6nce yeni bir kullan\u0131c\u0131 tan\u0131mlayaca\u011f\u0131m\u0131z Linux makinesinin <strong>root<\/strong> yetkisine sahip kullan\u0131c\u0131 bilgilerine sahip olmam\u0131z gerekiyor. Daha sonra bu bilgilerle Linux makinesine ba\u011flanarak terminal ekran\u0131n\u0131 a\u00e7ar\u0131z. <\/p>\n\n\n\n<h3>Yeni Kullan\u0131c\u0131 Olu\u015fturma<\/h3>\n\n\n\n<p><strong>etem <\/strong>ad\u0131nda yeni kullan\u0131c\u0131 olu\u015fturmak i\u00e7in a\u015fa\u011f\u0131daki komutlar\u0131 terminal ekran\u0131na girip&nbsp;[ENTER] &#8216;a t\u0131klar\u0131z. <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;powershell&quot;,&quot;mime&quot;:&quot;application\/x-powershell&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;showPanel&quot;:false,&quot;language&quot;:&quot;PowerShell&quot;,&quot;modeName&quot;:&quot;powershell&quot;}\">$ sudo adduser etem<\/pre><\/div>\n\n\n\n<p>Gelen ekranda <strong>parola<\/strong> bilgilerini gireriz.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;powershell&quot;,&quot;mime&quot;:&quot;application\/x-powershell&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;showPanel&quot;:false,&quot;language&quot;:&quot;PowerShell&quot;,&quot;modeName&quot;:&quot;powershell&quot;}\">New password:\nRetype new password:\npasswd: password updated successfully<\/pre><\/div>\n\n\n\n<p>Sonraki ad\u0131mda a\u015fa\u011f\u0131da g\u00f6r\u00fclen ilgili alanlar\u0131 ya bo\u015f b\u0131rak\u0131p ya da doldurarak yeni kullan\u0131c\u0131&#8217; y\u0131 olu\u015fturmu\u015f oluruz.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;powershell&quot;,&quot;mime&quot;:&quot;application\/x-powershell&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;showPanel&quot;:false,&quot;language&quot;:&quot;PowerShell&quot;,&quot;modeName&quot;:&quot;powershell&quot;}\">Changing the user information for username\nEnter the new value, or press ENTER for the default\n\tFull Name []:\n\tRoom Number []:\n\tWork Phone []:\n\tHome Phone []:\n\tOther []:<\/pre><\/div>\n\n\n\n<p>E\u011fer yeni olu\u015fturulan kullan\u0131c\u0131y\u0131 g\u00f6rmek istersek:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;powershell&quot;,&quot;mime&quot;:&quot;application\/x-powershell&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;showPanel&quot;:false,&quot;language&quot;:&quot;PowerShell&quot;,&quot;modeName&quot;:&quot;powershell&quot;}\">$ cat \/etc\/passwd\n$ grep '^etem' \/etc\/passwd<\/pre><\/div>\n\n\n\n<p>komutlar\u0131n\u0131 gireriz.<\/p>\n\n\n\n<p>Olu\u015fturdu\u011fumuz kullan\u0131c\u0131n\u0131n <strong>public key<\/strong> olmadan parola ile ba\u011flanabilmesi i\u00e7in sshd_config dosyas\u0131n\u0131 d\u00fczenlememiz gerekiyor. E\u011fer bu dosya d\u00fczenlenmezse uzaktan terminal ekran\u0131ndan ssh ba\u011flanma iste\u011fi yap\u0131ld\u0131\u011f\u0131nda <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;powershell&quot;,&quot;mime&quot;:&quot;application\/x-powershell&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;showPanel&quot;:false,&quot;language&quot;:&quot;PowerShell&quot;,&quot;modeName&quot;:&quot;powershell&quot;}\">etem@165.29.78.13: Permission denied (publickey).\n(base) etemkeskin@192 ~ %<\/pre><\/div>\n\n\n\n<p>uyar\u0131s\u0131 alacaks\u0131n\u0131z. Bu sorunu \u00e7\u00f6zmek i\u00e7in:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;powershell&quot;,&quot;mime&quot;:&quot;application\/x-powershell&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;showPanel&quot;:false,&quot;language&quot;:&quot;PowerShell&quot;,&quot;modeName&quot;:&quot;powershell&quot;}\">$ sudo nano \/etc\/ssh\/sshd_config<\/pre><\/div>\n\n\n\n<p>sshd_config dosyas\u0131nda a\u015fa\u011f\u0131daki resimdeki<strong> PasswordAuthentication<\/strong> yan\u0131ndaki ifade <strong>yes<\/strong> olarak de\u011fi\u015ftirilir.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"541\" height=\"103\" src=\"https:\/\/www.etemkeskin.com\/wp-content\/uploads\/2022\/01\/Ekran-Resmi-2022-01-07-10.28.43.png\" alt=\"\" class=\"wp-image-2508\"\/><\/figure><\/div>\n\n\n\n<p>Yeni olu\u015fturulan kullan\u0131c\u0131ya<strong> root <\/strong>yetkisi vermek istiyorsan\u0131z,<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;powershell&quot;,&quot;mime&quot;:&quot;application\/x-powershell&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;showPanel&quot;:false,&quot;language&quot;:&quot;PowerShell&quot;,&quot;modeName&quot;:&quot;powershell&quot;}\">$ adduser etem sudo\n$ sudo systemctl restart sshd<\/pre><\/div>\n\n\n\n<p>komutlar\u0131n\u0131 girerek <strong>root <\/strong>yetkisi vermi\u015f olursunuz.<\/p>\n\n\n\n<p>Yeni olu\u015fturulan kullan\u0131c\u0131 bilgileri ile ssh ba\u011flant\u0131s\u0131n\u0131 a\u015fa\u011f\u0131daki komutlar\u0131 ve parolay\u0131 girerek yapabilirsiniz.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;powershell&quot;,&quot;mime&quot;:&quot;application\/x-powershell&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;showPanel&quot;:false,&quot;language&quot;:&quot;PowerShell&quot;,&quot;modeName&quot;:&quot;powershell&quot;}\">$ ssh etem@your-ubuntu-server-ip<\/pre><\/div>\n\n\n\n<p>Ba\u015far\u0131lar dilerim&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bu yaz\u0131da Linux makinesinde yeni bir kullan\u0131c\u0131 olu\u015fturarak bu makineye kullan\u0131c\u0131 bilgisi ve parola ile uzaktan nas\u0131l ba\u011flan\u0131laca\u011f\u0131n\u0131 anlataca\u011f\u0131m. Bu yaz\u0131da kullan\u0131lan Linux server makinesi Ubuntu 20.04 versiyonu y\u00fckl\u00fcd\u00fcr. \u0130lk \u00f6nce yeni bir kullan\u0131c\u0131 tan\u0131mlayaca\u011f\u0131m\u0131z Linux makinesinin root yetkisine sahip kullan\u0131c\u0131 bilgilerine sahip olmam\u0131z gerekiyor. Daha sonra bu bilgilerle Linux makinesine ba\u011flanarak terminal ekran\u0131n\u0131 a\u00e7ar\u0131z. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[88],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ubuntu Linux Server Makinesinde Yeni Kullan\u0131c\u0131 Olu\u015fturma ve Kullan\u0131c\u0131 Bilgisi ve Parola Kullanarak SSH Ba\u011flant\u0131s\u0131 Yapma - blog website<\/title>\n<meta name=\"description\" content=\"In this post, I will explain how to create a new user on a Linux machine and connect to this machine remotely with user information and password. The Linux server machine used in this post has Ubuntu 20.04 version installed.Bu yaz\u0131da Linux makinesinde yeni bir kullan\u0131c\u0131 olu\u015fturarak bu makineye kullan\u0131c\u0131 bilgisi ve parola ile uzaktan nas\u0131l ba\u011flan\u0131laca\u011f\u0131n\u0131 anlataca\u011f\u0131m. Bu yaz\u0131da kullan\u0131lan Linux server makinesi Ubuntu 20.04 versiyonu y\u00fckl\u00fcd\u00fcr. First, we need to have the root user information of the Linux machine for which we will define a new user. Then we connect to the Linux machine with this information and open the terminal screen.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.etemkeskin.com\/index.php\/tr\/2022\/01\/09\/ubuntu-linux-server-makinesinde-yeni-kullanici-olusturma-ve-kullanici-bilgisi-ve-parola-kullanarak-ssh-baglantisi-yapma\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu Linux Server Makinesinde Yeni Kullan\u0131c\u0131 Olu\u015fturma ve Kullan\u0131c\u0131 Bilgisi ve Parola Kullanarak SSH Ba\u011flant\u0131s\u0131 Yapma - blog website\" \/>\n<meta property=\"og:description\" content=\"In this post, I will explain how to create a new user on a Linux machine and connect to this machine remotely with user information and password. The Linux server machine used in this post has Ubuntu 20.04 version installed.Bu yaz\u0131da Linux makinesinde yeni bir kullan\u0131c\u0131 olu\u015fturarak bu makineye kullan\u0131c\u0131 bilgisi ve parola ile uzaktan nas\u0131l ba\u011flan\u0131laca\u011f\u0131n\u0131 anlataca\u011f\u0131m. Bu yaz\u0131da kullan\u0131lan Linux server makinesi Ubuntu 20.04 versiyonu y\u00fckl\u00fcd\u00fcr. First, we need to have the root user information of the Linux machine for which we will define a new user. Then we connect to the Linux machine with this information and open the terminal screen.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.etemkeskin.com\/index.php\/tr\/2022\/01\/09\/ubuntu-linux-server-makinesinde-yeni-kullanici-olusturma-ve-kullanici-bilgisi-ve-parola-kullanarak-ssh-baglantisi-yapma\/\" \/>\n<meta property=\"og:site_name\" content=\"blog website\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-09T18:31:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-09T18:33:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.etemkeskin.com\/wp-content\/uploads\/2022\/01\/Ekran-Resmi-2022-01-07-10.28.43.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.etemkeskin.com\/#website\",\"url\":\"https:\/\/www.etemkeskin.com\/\",\"name\":\"blog website\",\"description\":\"Etem KESK\\u0130N\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.etemkeskin.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"tr\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.etemkeskin.com\/index.php\/tr\/2022\/01\/09\/ubuntu-linux-server-makinesinde-yeni-kullanici-olusturma-ve-kullanici-bilgisi-ve-parola-kullanarak-ssh-baglantisi-yapma\/#primaryimage\",\"inLanguage\":\"tr\",\"url\":\"https:\/\/www.etemkeskin.com\/wp-content\/uploads\/2022\/01\/Ekran-Resmi-2022-01-07-10.28.43.png\",\"contentUrl\":\"https:\/\/www.etemkeskin.com\/wp-content\/uploads\/2022\/01\/Ekran-Resmi-2022-01-07-10.28.43.png\",\"width\":541,\"height\":103},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.etemkeskin.com\/index.php\/tr\/2022\/01\/09\/ubuntu-linux-server-makinesinde-yeni-kullanici-olusturma-ve-kullanici-bilgisi-ve-parola-kullanarak-ssh-baglantisi-yapma\/#webpage\",\"url\":\"https:\/\/www.etemkeskin.com\/index.php\/tr\/2022\/01\/09\/ubuntu-linux-server-makinesinde-yeni-kullanici-olusturma-ve-kullanici-bilgisi-ve-parola-kullanarak-ssh-baglantisi-yapma\/\",\"name\":\"Ubuntu Linux Server Makinesinde Yeni Kullan\\u0131c\\u0131 Olu\\u015fturma ve Kullan\\u0131c\\u0131 Bilgisi ve Parola Kullanarak SSH Ba\\u011flant\\u0131s\\u0131 Yapma - blog website\",\"isPartOf\":{\"@id\":\"https:\/\/www.etemkeskin.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.etemkeskin.com\/index.php\/tr\/2022\/01\/09\/ubuntu-linux-server-makinesinde-yeni-kullanici-olusturma-ve-kullanici-bilgisi-ve-parola-kullanarak-ssh-baglantisi-yapma\/#primaryimage\"},\"datePublished\":\"2022-01-09T18:31:55+00:00\",\"dateModified\":\"2022-01-09T18:33:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.etemkeskin.com\/#\/schema\/person\/dcbc30282861ce578b96a79ce8789629\"},\"description\":\"In this post, I will explain how to create a new user on a Linux machine and connect to this machine remotely with user information and password. The Linux server machine used in this post has Ubuntu 20.04 version installed.Bu yaz\\u0131da Linux makinesinde yeni bir kullan\\u0131c\\u0131 olu\\u015fturarak bu makineye kullan\\u0131c\\u0131 bilgisi ve parola ile uzaktan nas\\u0131l ba\\u011flan\\u0131laca\\u011f\\u0131n\\u0131 anlataca\\u011f\\u0131m. Bu yaz\\u0131da kullan\\u0131lan Linux server makinesi Ubuntu 20.04 versiyonu y\\u00fckl\\u00fcd\\u00fcr. First, we need to have the root user information of the Linux machine for which we will define a new user. Then we connect to the Linux machine with this information and open the terminal screen.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.etemkeskin.com\/index.php\/tr\/2022\/01\/09\/ubuntu-linux-server-makinesinde-yeni-kullanici-olusturma-ve-kullanici-bilgisi-ve-parola-kullanarak-ssh-baglantisi-yapma\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.etemkeskin.com\/index.php\/tr\/2022\/01\/09\/ubuntu-linux-server-makinesinde-yeni-kullanici-olusturma-ve-kullanici-bilgisi-ve-parola-kullanarak-ssh-baglantisi-yapma\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.etemkeskin.com\/index.php\/tr\/2022\/01\/09\/ubuntu-linux-server-makinesinde-yeni-kullanici-olusturma-ve-kullanici-bilgisi-ve-parola-kullanarak-ssh-baglantisi-yapma\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ana sayfa\",\"item\":\"https:\/\/www.etemkeskin.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu Linux Server Makinesinde Yeni Kullan\\u0131c\\u0131 Olu\\u015fturma ve Kullan\\u0131c\\u0131 Bilgisi ve Parola Kullanarak SSH Ba\\u011flant\\u0131s\\u0131 Yapma\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.etemkeskin.com\/#\/schema\/person\/dcbc30282861ce578b96a79ce8789629\",\"name\":\"etemkeskin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.etemkeskin.com\/#personlogo\",\"inLanguage\":\"tr\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6af0148b790691ed24ae245fb3dc773b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6af0148b790691ed24ae245fb3dc773b?s=96&d=mm&r=g\",\"caption\":\"etemkeskin\"},\"url\":\"https:\/\/www.etemkeskin.com\/index.php\/author\/etemkeskinyahoo-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.etemkeskin.com\/index.php\/wp-json\/wp\/v2\/posts\/2534"}],"collection":[{"href":"https:\/\/www.etemkeskin.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.etemkeskin.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.etemkeskin.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.etemkeskin.com\/index.php\/wp-json\/wp\/v2\/comments?post=2534"}],"version-history":[{"count":1,"href":"https:\/\/www.etemkeskin.com\/index.php\/wp-json\/wp\/v2\/posts\/2534\/revisions"}],"predecessor-version":[{"id":2535,"href":"https:\/\/www.etemkeskin.com\/index.php\/wp-json\/wp\/v2\/posts\/2534\/revisions\/2535"}],"wp:attachment":[{"href":"https:\/\/www.etemkeskin.com\/index.php\/wp-json\/wp\/v2\/media?parent=2534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.etemkeskin.com\/index.php\/wp-json\/wp\/v2\/categories?post=2534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.etemkeskin.com\/index.php\/wp-json\/wp\/v2\/tags?post=2534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}