{"id":11779,"date":"2021-06-29T09:52:31","date_gmt":"2021-06-29T07:52:31","guid":{"rendered":"https:\/\/wp.jochen.hayek.name\/blog-en\/?p=11779"},"modified":"2021-07-05T13:26:20","modified_gmt":"2021-07-05T11:26:20","slug":"github-and-ssh-authentication","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2021\/06\/29\/github-and-ssh-authentication\/","title":{"rendered":"GitHub and SSH authentication"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/docs.github.com\/en\/github\/authenticating-to-github\/connecting-to-github-with-ssh\/testing-your-ssh-connection\n\">https:\/\/docs.github.com\/en\/github\/authenticating-to-github\/connecting-to-github-with-ssh\/testing-your-ssh-connection<\/a><\/li><li><a href=\"https:\/\/stackoverflow.com\/questions\/46337566\/why-is-github-asking-me-username-password-although-i-setup-ssh-authentication\">https:\/\/stackoverflow.com\/questions\/46337566\/why-is-github-asking-me-username-password-although-i-setup-ssh-authentication<\/a><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">SSH authentication only works with URL-s like this one: &#8220;<kbd>git@github.com:&lt;user>\/&lt;repo>.git<\/kbd>&#8220;. Username (or anything like that) is not considered, just the public key.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/docs.github.com\/en\/github\/authenticating-to-github\/connecting-to-github-with-ssh\/testing-your-ssh-connection https:\/\/stackoverflow.com\/questions\/46337566\/why-is-github-asking-me-username-password-although-i-setup-ssh-authentication SSH authentication only works with URL-s like this one: &#8220;git@github.com:&lt;user>\/&lt;repo>.git&#8220;. Username (or anything like that) is not considered, just the public key.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[783,169],"tags":[],"class_list":["post-11779","post","type-post","status-publish","format-standard","hentry","category-git-scm","category-github-com"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-33Z","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/11779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=11779"}],"version-history":[{"count":3,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/11779\/revisions"}],"predecessor-version":[{"id":11793,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/11779\/revisions\/11793"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=11779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=11779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=11779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}