{"id":6425,"date":"2019-05-23T21:52:33","date_gmt":"2019-05-23T19:52:33","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=6425"},"modified":"2019-05-24T13:11:15","modified_gmt":"2019-05-24T11:11:15","slug":"linux-connection-reset-when-connecting-to-a-ssh-server","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/linux-connection-reset-when-connecting-to-a-ssh-server\/","title":{"rendered":"Linux: Connection reset when connecting to a ssh server"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_6425 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_6425')){$('.twoclick_social_bookmarks_post_6425').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Linux%3A%20Connection%20reset%20when%20connecting%20to%20a%20ssh%20server\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Ayou%20are%20trying%20to%20connect%20to%20a%20ssh%20server%20and%20got%20the%20error%3A%20Connection%20reset%20by%20123.123.123.123%20port%2022%0D%0A%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/linux-connection-reset-when-connecting-to-a-ssh-server\\\/\",\"post_id\":6425,\"post_title_referrer_track\":\"Linux%3A+Connection+reset+when+connecting+to+a+ssh+server\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>you are trying to connect to a ssh server and got the error: <strong>Connection reset by 123.123.123.123 port 22<\/strong><\/p>\n<p><!--more--><br \/>\nThis usually occures when the host keys configured in <strong>\/etc\/ssh\/sshd_config<\/strong> on the server are missing. For example you have deployed a fresh Linux Image to a device where sshd isn&#8217;t configured yet.<\/p>\n<p>Solution: Generate the missing keys as explained <a href=\"https:\/\/michlstechblog.info\/blog\/linux-regenerate-sshd-host-keys\/\">here<\/a><\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, you are trying to connect to a ssh server and got the error: Connection reset by 123.123.123.123 port 22<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[573,224,174,650,933],"class_list":["post-6425","post","type-post","status-publish","format-standard","hentry","category-linux","tag-connection","tag-linux-2","tag-reset","tag-sshd","tag-unix"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/6425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=6425"}],"version-history":[{"count":2,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/6425\/revisions"}],"predecessor-version":[{"id":6428,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/6425\/revisions\/6428"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=6425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=6425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=6425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}