{"id":2804,"date":"2019-03-30T02:55:54","date_gmt":"2019-03-29T20:55:54","guid":{"rendered":"http:\/\/notes.norfolk.ga\/?p=2804"},"modified":"2019-03-30T02:56:31","modified_gmt":"2019-03-29T20:56:31","slug":"raspberry-pi-ssh-%d0%b0%d0%b2%d1%82%d0%be%d1%80%d0%b8%d0%b7%d0%b0%d1%86%d0%b8%d1%8f-%d0%bf%d0%be-%d0%ba%d0%bb%d1%8e%d1%87%d1%83","status":"publish","type":"post","link":"https:\/\/notes.norfolks.fun\/?p=2804","title":{"rendered":"Raspberry Pi: ssh \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e \u043a\u043b\u044e\u0447\u0443"},"content":{"rendered":"\n<p>\u041d\u0430 \u043b\u0438\u043d\u0443\u043a\u0441 \u043c\u0430\u0448\u0438\u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u043c:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043d\u043e\u0432\u044b\u0445 \u043a\u043b\u044e\u0447\u0435\u0439 SSH<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ssh-keygen<\/code><\/pre>\n\n\n\n<p>\u0416\u043c\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 Enter &#8212; \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043a\u043b\u044e\u0447\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432  \/home\/user\/.ssh\/id_rsa <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0421\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0432\u0430\u0448 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u043b\u044e\u0447 \u043d\u0430 \u0432\u0430\u0448 Raspberry Pi<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ssh-copy-id &lt;USERNAME>@&lt;PI-IP-ADDRESS><\/code><\/pre>\n\n\n\n<p><strong>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0432\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0439\u0442\u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0441 \u0432\u0430\u0448\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u0435\u043c.<\/strong><\/p>\n\n\n\n<p>\u043a\u043b\u044e\u0447 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \/home\/pi\/.ssh\/authorized_keys<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/remote-access\/ssh\/passwordless.md\">https:\/\/www.raspberrypi.org\/documentation\/remote-access\/ssh\/passwordless.md<\/a><\/li><\/ul>\n\n\n\n<p><strong>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 putty \u043f\u043e\u0434 Windows<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">PuTTY \u0432\u044b\u0434\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 Unable to use key file<\/h3>\n\n\n\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u044e\u0447 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u044b&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\" target=\"_blank\">PuTTYgen<\/a>.&nbsp; <\/p>\n\n\n\n<p>PuTTYgen &#8212; Conversions&nbsp;-&gt;&nbsp;Import&nbsp;key, \u0437\u0430\u0442\u0435\u043c Save private key (\u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043a\u0430\u043a .ppk)<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.atlex.ru\/baza-znanij\/chavo\/putty-vydaet-oshibku-unable-to-use-key-file\/\">https:\/\/www.atlex.ru\/baza-znanij\/chavo\/putty-vydaet-oshibku-unable-to-use-key-file\/<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430 \u043b\u0438\u043d\u0443\u043a\u0441 \u043c\u0430\u0448\u0438\u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u043c: \u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043d\u043e\u0432\u044b\u0445 \u043a\u043b\u044e\u0447\u0435\u0439 SSH \u0416\u043c\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 Enter &#8212; \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043a\u043b\u044e\u0447\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \/home\/user\/.ssh\/id_rsa \u0421\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0432\u0430\u0448 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u043b\u044e\u0447 \u043d\u0430 \u0432\u0430\u0448 Raspberry Pi \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0432\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0439\u0442\u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0441 \u0432\u0430\u0448\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u0435\u043c. &hellip; <a href=\"https:\/\/notes.norfolks.fun\/?p=2804\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2804","post","type-post","status-publish","format-standard","hentry","category-all"],"_links":{"self":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/2804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2804"}],"version-history":[{"count":2,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/2804\/revisions"}],"predecessor-version":[{"id":2806,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/2804\/revisions\/2806"}],"wp:attachment":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}