{"id":3377,"date":"2019-11-16T11:10:01","date_gmt":"2019-11-16T11:10:01","guid":{"rendered":"https:\/\/www.chrislamb.com\/?p=3377"},"modified":"2019-11-16T11:10:01","modified_gmt":"2019-11-16T11:10:01","slug":"accessing-by-ssh-public-key-authentication","status":"publish","type":"post","link":"https:\/\/www.chrislamb.com\/?p=3377","title":{"rendered":"Accessing by SSH Public Key Authentication"},"content":{"rendered":"\n<p>Quick notes for an already well documented method. From a *nix based machine (my iMac while writing this).<\/p>\n\n\n\n<p><strong>ssh-keygen -t rsa -b 4096 -C &#8220;me@emailaddress.com&#8221;<\/strong><\/p>\n\n\n\n<p>Choose an id filename &#8211; on this instance I set:   id_rsademo<\/p>\n\n\n\n<p><strong>ssh-copy-id -i ~\/.ssh\/id_rsademo  me@192.168.0.1<\/strong><\/p>\n\n\n\n<p>The connection is to the machine on its ip address &#8211; this simply has to be able to resolve so it can use DNS<\/p>\n\n\n\n<p>A good write-up is available here:   <a href=\"https:\/\/www.ssh.com\/ssh\/copy-id\">https:\/\/www.ssh.com\/ssh\/copy-id<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quick notes for an already well documented method. From a *nix based machine (my iMac while writing this). ssh-keygen -t rsa -b 4096 -C &#8220;me@emailaddress.com&#8221; Choose an id filename &#8211; on this instance I set: id_rsademo ssh-copy-id -i ~\/.ssh\/id_rsademo me@192.168.0.1 The connection is to the machine on its ip address &#8211; this simply has to [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[27],"tags":[],"class_list":["post-3377","post","type-post","status-publish","format-standard","hentry","category-code"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p53QCd-St","_links":{"self":[{"href":"https:\/\/www.chrislamb.com\/index.php?rest_route=\/wp\/v2\/posts\/3377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chrislamb.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chrislamb.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chrislamb.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chrislamb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3377"}],"version-history":[{"count":1,"href":"https:\/\/www.chrislamb.com\/index.php?rest_route=\/wp\/v2\/posts\/3377\/revisions"}],"predecessor-version":[{"id":3378,"href":"https:\/\/www.chrislamb.com\/index.php?rest_route=\/wp\/v2\/posts\/3377\/revisions\/3378"}],"wp:attachment":[{"href":"https:\/\/www.chrislamb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chrislamb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chrislamb.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}