{"id":19225,"date":"2016-07-26T21:34:25","date_gmt":"2016-07-26T14:34:25","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/?p=19225"},"modified":"2019-02-14T17:33:48","modified_gmt":"2019-02-15T01:33:48","slug":"ssh-support-for-git-repos-is-now-available","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/ssh-support-for-git-repos-is-now-available\/","title":{"rendered":"SSH support for Git repos is now available"},"content":{"rendered":"<p>A few months ago, Jeremy mentioned that <a href=\"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2016\/04\/14\/git-experience-futures-april-2016\/\">SSH support for Git repos<\/a> was in private preview. I\u2019m happy to announce that it is now available to everyone in both TFS and Team Services. You can now connect to any Team Services repo using an SSH key, which is particularly helpful if you develop on Linux or Mac.<\/p>\n<p><a href=\"https:\/\/www.visualstudio.com\/en-us\/docs\/git\/use-ssh-keys-to-authenticate\">Learn more<\/a> about SSH, or continue below for instructions on how to upload your public SSH key.<\/p>\n<h3>To upload your public SSH key<\/h3>\n<ol>\n<li>Open your user profile in the upper right-hand corner of the Team Services interface and select <strong>My security<\/strong>.<\/li>\n<\/ol>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/07\/ssh_profile_access.png\" alt=\"ssh_profile_access\" width=\"227\" height=\"171\" class=\"size-medium wp-image-19278 aligncenter\" \/><\/p>\n<ol>\n<li>Navigate to <strong>SSH public keys<\/strong> in the left-hand menu.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/6\/2019\/05\/ssh_accessing_security_key.png\" rel=\"attachment wp-att-19265\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/07\/ssh_accessing_security_key.png\" alt=\"ssh_accessing_security_key\" width=\"248\" height=\"229\" class=\"size-full wp-image-19265 aligncenter\" \/><\/a><\/p>\n<p>3.\u00a0Click <strong>+Add<\/strong> to add your public key. Give the key a description, and then copy and paste the contents of the public key file to the <strong>Key Data <\/strong>field.\u00a0Avoid adding whitespace or new lines into the key data field\u2014they can result in Team Services saving an incorrect public key.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/6\/2019\/05\/ssh_key_input1.png\" rel=\"attachment wp-att-19285\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/07\/ssh_key_input1.png\" alt=\"ssh_key_input\" width=\"619\" height=\"262\" class=\"size-full wp-image-19285 aligncenter\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>As always, please leave your feedback in the comments, on <a href=\"https:\/\/visualstudio.uservoice.com\/forums\/330519-team-services\">UserVoice<\/a>, or using the smiley face in the top right of your Team Services account.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few months ago, Jeremy mentioned that SSH support for Git repos was in private preview. I\u2019m happy to announce that it is now available to everyone in both TFS and Team Services. You can now connect to any Team Services repo using an SSH key, which is particularly helpful if you develop on Linux [&hellip;]<\/p>\n","protected":false},"author":211,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,225],"tags":[],"class_list":["post-19225","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-git"],"acf":[],"blog_post_summary":"<p>A few months ago, Jeremy mentioned that SSH support for Git repos was in private preview. I\u2019m happy to announce that it is now available to everyone in both TFS and Team Services. You can now connect to any Team Services repo using an SSH key, which is particularly helpful if you develop on Linux [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/19225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/211"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=19225"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/19225\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=19225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=19225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=19225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}