{"id":19335,"date":"2016-07-30T00:32:19","date_gmt":"2016-07-29T17:32:19","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/?p=19335"},"modified":"2019-02-14T17:33:47","modified_gmt":"2019-02-15T01:33:47","slug":"ssh-build-task","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/ssh-build-task\/","title":{"rendered":"SSH build task"},"content":{"rendered":"<p>On the request of our Linux\u00a0customers, we have shipped a new SSH build task that allows running commands or scripts on a remote server. This task is available on Visual Studio Team Services and will be available in the next release of Team Foundation Server for our on-premises customers.<\/p>\n<p>Using the task is simple. You specify your SSH connection information in an SSH service endpoint, ensure the public key is setup on the remote machine and provide a script with your deployment or configuration steps to run on the remote machine. The task also allows specifying commands directly instead of a script file.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/6\/2019\/05\/sshTask.png\"><img decoding=\"async\" width=\"1898\" height=\"876\" class=\"size-full wp-image-19345\" alt=\"SSH task\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/07\/sshTask.png\" \/><\/a><\/p>\n<p>Checkout the <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=821892\">documentation <\/a>and <a href=\"https:\/\/www.youtube.com\/watch?v=N9QMJoi__aM\">demo video<\/a>!<\/p>\n<p><iframe title=\"SSH\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/N9QMJoi__aM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>Try it out and let us know if you have any feedback on <a href=\"https:\/\/github.com\/Microsoft\/vsts-tasks\">our GitHub repository<\/a>.<\/p>\n<p>To learn more about cross platform development with Team Services, visit\u00a0<a href=\"https:\/\/visualstudio.microsoft.com\">https:\/\/visualstudio.microsoft.com<\/a><\/p>\n<p>Thanks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On the request of our Linux\u00a0customers, we have shipped a new SSH build task that allows running commands or scripts on a remote server. This task is available on Visual Studio Team Services and will be available in the next release of Team Foundation Server for our on-premises customers. Using the task is simple. You [&hellip;]<\/p>\n","protected":false},"author":199,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-19335","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"acf":[],"blog_post_summary":"<p>On the request of our Linux\u00a0customers, we have shipped a new SSH build task that allows running commands or scripts on a remote server. This task is available on Visual Studio Team Services and will be available in the next release of Team Foundation Server for our on-premises customers. Using the task is simple. You [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/19335","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\/199"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=19335"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/19335\/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=19335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=19335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=19335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}