{"id":182,"date":"2018-01-21T21:34:30","date_gmt":"2018-01-21T21:34:30","guid":{"rendered":"http:\/\/labiol.xyz\/?p=182"},"modified":"2018-01-21T21:34:30","modified_gmt":"2018-01-21T21:34:30","slug":"ssh-w-linuksie","status":"publish","type":"post","link":"https:\/\/www.labiol.xyz\/index.php\/2018\/01\/21\/ssh-w-linuksie\/","title":{"rendered":"ssh w linuksie"},"content":{"rendered":"<p>Podstawy<\/p>\n<p>Polecenie ssh -l u\u017cytkownik serwer lub\u00a0<strong>ssh u\u017cytkownik@serwer<\/strong>\u00a0\u0142\u0105czy z serwerem.<\/p>\n<p>Je\u015bli zobaczysz komuniakat:<\/p>\n<pre><em>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\n@\u00a0\u00a0\u00a0 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!\u00a0\u00a0\u00a0\u00a0 @\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\nIT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\r\nSomeone could be eavesdropping on you right now (man-in-the-middle attack)!\r\nIt is also possible that the RSA host key has just been changed.\r\nThe fingerprint for the RSA key sent by the remote host is<\/em><\/pre>\n<p>to oznacza, \u017ce od ostatniego razu zmieni\u0142 si\u0119 ,,odcisk palca&#8221; serwera. Mo\u017ce to oznacza\u0107, \u017ce administrator zainstalowa\u0142 nowy serwer lub co\u015b grzeba\u0142 przy sshd. Istnieje r\u00f3wnie\u017c mo\u017cliwo\u015b\u0107 ataku na serwer\u00a0 a raczej na po\u0142\u0105czenie. Je\u015bli ju\u017c jeste\u015bmy pewni, \u017ce to nie jest atak (bo zadzwonili\u015bmy do admina i nam powiedzia\u0142, \u017ce co\u015b grzeba\u0142) to trzeba usun\u0105\u0107 z pliku .\/ssh\/known_hosts lini\u0119 dotycz\u0105c\u0105 problematycznego serwera poleceniem:\u00a0<strong>ssh-keygen -R nazwa_hosta<\/strong>. Polecenie<strong>ssh-keyscan nazwa_hosta\u00a0<\/strong>pokazuje klucz hosta.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Podstawy Polecenie ssh -l u\u017cytkownik serwer lub\u00a0ssh u\u017cytkownik@serwer\u00a0\u0142\u0105czy z serwerem. Je\u015bli zobaczysz komuniakat: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @\u00a0\u00a0\u00a0 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!\u00a0\u00a0\u00a0\u00a0 @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-182","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/182","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=182"}],"version-history":[{"count":1,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/182\/revisions"}],"predecessor-version":[{"id":183,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/182\/revisions\/183"}],"wp:attachment":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}