{"id":20,"date":"2006-08-18T22:04:05","date_gmt":"2006-08-19T04:04:05","guid":{"rendered":"http:\/\/www.schwie.com\/brad\/?p=20"},"modified":"2006-08-18T22:04:05","modified_gmt":"2006-08-19T04:04:05","slug":"openssh-on-mac-os-x-error","status":"publish","type":"post","link":"https:\/\/www.schwie.com\/brad\/?p=20","title":{"rendered":"OpenSSH on Mac OS X error"},"content":{"rendered":"<p>So, I was fooling around and installed OpenSSH 4.3p2 using darwinports on my PowerBook.  Something got hosed up, because I suddenly couldn&#8217;t connect to my own machine any more when I entered the following:<\/p>\n<p>Brad-and-Tinas-iMac:~ bschwie$ ssh -vvv localhost<\/p>\n<p>I got this:<\/p>\n<p>OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005<br \/>\ndebug1: Reading configuration data \/etc\/ssh_config<br \/>\ndebug2: ssh_connect: needpriv 0<br \/>\ndebug1: Connecting to localhost [::1] port 22.<br \/>\ndebug1: Connection established.<br \/>\ndebug1: identity file \/Users\/bschwie\/.ssh\/identity type -1<br \/>\ndebug3: Not a RSA1 key file \/Users\/bschwie\/.ssh\/id_rsa.<br \/>\ndebug2: key_type_from_name: unknown key type &#8216;&#8212;&#8211;BEGIN&#8217;<br \/>\ndebug3: key_read: missing keytype<br \/>\ndebug2: key_type_from_name: unknown key type &#8216;Proc-Type:&#8217;<br \/>\ndebug3: key_read: missing keytype<br \/>\ndebug2: key_type_from_name: unknown key type &#8216;DEK-Info:&#8217;<br \/>\ndebug3: key_read: missing keytype<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug2: key_type_from_name: unknown key type &#8216;&#8212;&#8211;END&#8217;<br \/>\ndebug3: key_read: missing keytype<br \/>\ndebug1: identity file \/Users\/bschwie\/.ssh\/id_rsa type 1<br \/>\ndebug3: Not a RSA1 key file \/Users\/bschwie\/.ssh\/id_dsa.<br \/>\ndebug2: key_type_from_name: unknown key type &#8216;&#8212;&#8211;BEGIN&#8217;<br \/>\ndebug3: key_read: missing keytype<br \/>\ndebug2: key_type_from_name: unknown key type &#8216;Proc-Type:&#8217;<br \/>\ndebug3: key_read: missing keytype<br \/>\ndebug2: key_type_from_name: unknown key type &#8216;DEK-Info:&#8217;<br \/>\ndebug3: key_read: missing keytype<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug3: key_read: missing whitespace<br \/>\ndebug2: key_type_from_name: unknown key type &#8216;&#8212;&#8211;END&#8217;<br \/>\ndebug3: key_read: missing keytype<br \/>\ndebug1: identity file \/Users\/bschwie\/.ssh\/id_dsa type 2<br \/>\nssh_exchange_identification: Connection closed by remote host<\/p>\n<p>To fix this issue, I had to do the following:<\/p>\n<p>Brad-and-Tinas-iMac:~\/.ssh bschwie$ sudo mkdir \/var\/empty<br \/>\nBrad-and-Tinas-iMac:~\/.ssh bschwie$ sudo chown root:sys \/var\/empty<\/p>\n<p>Maybe this file got blown out by darwinports?  I don&#8217;t know&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, I was fooling around and installed OpenSSH 4.3p2 using darwinports on my PowerBook. Something got hosed up, because I suddenly couldn&#8217;t connect to my own machine any more when I entered the following: Brad-and-Tinas-iMac:~ bschwie$ ssh -vvv localhost I &hellip; <a href=\"https:\/\/www.schwie.com\/brad\/?p=20\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20"}],"version-history":[{"count":0,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}