{"id":16,"date":"2009-12-07T16:51:03","date_gmt":"2009-12-07T22:51:03","guid":{"rendered":"https:\/\/www.tavshed.com\/?p=16"},"modified":"2010-04-26T21:44:09","modified_gmt":"2010-04-27T03:44:09","slug":"use-ssh-key-to-access-debian-from-mac-os-x","status":"publish","type":"post","link":"https:\/\/www.tavshed.com\/?p=16","title":{"rendered":"Use SSH key to access Debian from Mac OS X"},"content":{"rendered":"<p>1.  Open the OS X Terminal application<\/p>\n<p>2.  cd .ssh<br \/>\nIf directory .ssh does not exist then mkdir .ssh<\/p>\n<p>3.  Generate SSH keys<br \/>\nssh-keygen<br \/>\nEnter file in which to save the key (\/User\/xxxxx\/.ssh\/id_rsa): recommend leaving blank<br \/>\nEnter passphrase (empty for no passphrase): recommend entering passphrase<br \/>\nEnter same passphrase again:<br \/>\nYour identification has been saved in \/Users\/xxxxx\/.ssh\/id_rsa.<br \/>\nYour public key has been saved in \/Users\/xxxxx\/.ssh\/id_rsa.pub.<\/p>\n<p>5. Access the .ssh directory on the server<br \/>\ncd \/home\/xxxxx\/.ssh\/<br \/>\nIf directory .ssh does not exist then mkdir .ssh<br \/>\nchmod 700 \/home\/xxxxx\/.ssh<\/p>\n<p>4.  Upload your public key to the server<br \/>\nUpload your id_rsa.pub to \/home\/xxxxx\/.ssh\/<\/p>\n<p>5. Create the authorized_keys file<br \/>\ncat id_rsa.pub >> authorized_keys<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Open the OS X Terminal application 2. cd .ssh If directory .ssh does not exist then mkdir .ssh 3. Generate SSH keys ssh-keygen Enter file in which to save the key (\/User\/xxxxx\/.ssh\/id_rsa): recommend leaving blank Enter passphrase (empty for no passphrase): recommend entering passphrase Enter same passphrase again: Your identification has been saved in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,5,6],"tags":[42,20,21,23],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-debian","category-osx","category-snowleopard","tag-debian","tag-mac","tag-snow-leopard","tag-ssh"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2lczV-g","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.tavshed.com\/index.php?rest_route=\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tavshed.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tavshed.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tavshed.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tavshed.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16"}],"version-history":[{"count":2,"href":"https:\/\/www.tavshed.com\/index.php?rest_route=\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/www.tavshed.com\/index.php?rest_route=\/wp\/v2\/posts\/16\/revisions\/63"}],"wp:attachment":[{"href":"https:\/\/www.tavshed.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tavshed.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tavshed.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}