{"id":166,"date":"2018-01-21T21:31:21","date_gmt":"2018-01-21T21:31:21","guid":{"rendered":"http:\/\/labiol.xyz\/?p=166"},"modified":"2018-01-21T21:31:21","modified_gmt":"2018-01-21T21:31:21","slug":"logowanie-linux-linux-bez-potrzeby-podawania-hasla-ssh","status":"publish","type":"post","link":"https:\/\/www.labiol.xyz\/index.php\/2018\/01\/21\/logowanie-linux-linux-bez-potrzeby-podawania-hasla-ssh\/","title":{"rendered":"Logowanie Linux-Linux bez potrzeby podawania has\u0142a ( ssh )."},"content":{"rendered":"<p>Logowanie za pomoc\u0105 uwierzytelnienia za pomoc\u0105 klucza.<\/p>\n<p>Opis znajduje si\u0119\u00a0<a title=\"http:\/\/www.cyberciti.biz\/faq\/linux-generating-rsa-keys\/\" href=\"http:\/\/www.cyberciti.biz\/faq\/linux-generating-rsa-keys\/\" target=\"_blank\" rel=\"noopener\">tutaj<\/a>. Aby nie podawa\u0107 has\u0142a nale\u017cy w pierwszym kroku algorytmu wcisn\u0105\u0107 enter gdy skrypt poprosi o has\u0142o.<\/p>\n<p>W astronomicznym skr\u00f3cie (wszystko wykonujemy po stronie klienta):<\/p>\n<p><strong><em>ssh-keygen -t rsa<\/em><\/strong><br \/>\nalbo<br \/>\n<strong><em>ssh-keygen<\/em><\/strong><\/p>\n<p><strong><em>ssh-copy-id -i ~\/.ssh\/id_dsa.pub username@serwer.wejsciowy<\/em><\/strong><\/p>\n<p><a title=\"http:\/\/www.cyberciti.biz\/faq\/install-ssh-identity-key-remote-host\/\" href=\"http:\/\/www.cyberciti.biz\/faq\/install-ssh-identity-key-remote-host\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.cyberciti.biz\/faq\/install-ssh-identity-key-remote-host\/<\/a><\/p>\n<p><strong><em>keychain<\/em><\/strong>\u00a0&#8211; ciekawy program, trzyma klucze po wylogowaniu (np. dla crona)<br \/>\n<a title=\"http:\/\/linux.die.net\/man\/1\/keychain\" href=\"http:\/\/linux.die.net\/man\/1\/keychain\" target=\"_blank\" rel=\"noopener\">http:\/\/linux.die.net\/man\/1\/keychain<\/a><\/p>\n<p>Uzupe\u0142nienie:<\/p>\n<p>W ubuntu (po stronie klienta) w w\/w konfiguracji dostaniemy komunikat: Agent admitted failure to sign using the key. Nale\u017cy wyda\u0107 komend\u0119 ssh-add.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Logowanie za pomoc\u0105 uwierzytelnienia za pomoc\u0105 klucza. Opis znajduje si\u0119\u00a0tutaj. Aby nie podawa\u0107 has\u0142a nale\u017cy w pierwszym kroku algorytmu wcisn\u0105\u0107 enter gdy skrypt poprosi o has\u0142o. W astronomicznym skr\u00f3cie (wszystko wykonujemy po stronie klienta): ssh-keygen -t rsa albo ssh-keygen ssh-copy-id -i ~\/.ssh\/id_dsa.pub username@serwer.wejsciowy http:\/\/www.cyberciti.biz\/faq\/install-ssh-identity-key-remote-host\/ keychain\u00a0&#8211; ciekawy program, trzyma klucze po &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,2],"tags":[],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-linux","category-vmware"],"_links":{"self":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":1,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":167,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/166\/revisions\/167"}],"wp:attachment":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}