{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/6558","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/6558/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/6558/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/6558/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/6558","id":300838046,"number":6558,"title":"SSH Service Endpoint and SSH Task for single host is too restrictive","user":{"login":"ppanyukov","id":300031,"avatar_url":"https://avatars2.githubusercontent.com/u/300031?v=4","gravatar_id":"","url":"https://api.github.com/users/ppanyukov","html_url":"https://github.com/ppanyukov","followers_url":"https://api.github.com/users/ppanyukov/followers","following_url":"https://api.github.com/users/ppanyukov/following{/other_user}","gists_url":"https://api.github.com/users/ppanyukov/gists{/gist_id}","starred_url":"https://api.github.com/users/ppanyukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppanyukov/subscriptions","organizations_url":"https://api.github.com/users/ppanyukov/orgs","repos_url":"https://api.github.com/users/ppanyukov/repos","events_url":"https://api.github.com/users/ppanyukov/events{/privacy}","received_events_url":"https://api.github.com/users/ppanyukov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-27T23:49:53Z","updated_at":"2018-02-27T23:49:53Z","closed_at":null,"author_association":"NONE","body":"This is around the combination of SSH Service Endpoint and SSH Task.\r\n\r\nSSH Task lets us run some command on a (**single**) remote machine. This single connection is setup using SSH Service Endpoint. The endpoint setup requires to specify a **single** host.\r\n\r\nThis restriction to a single host does not scale well for us. We have loads of hosts, all of which use the same SSH key.  It is very restrictive to have to define SSH Service Endpoint for each host we have, and then have to setup individual tasks for each host (we may want to execute same thing across several hosts).\r\n\r\nIdeally, if we continue with SSH Service Endpoint and SSH Task model, we would like to:\r\n\r\n- Have SSH Key Service Endpoint where we do **not** specify host. Effectively, this becomes just \"SSH Key\" kind of thing.\r\n\r\n- Have SSH Task v2 where we specify the \"SSH Key Servide Endpoint\" and then can have host(s) as parameters to the task itself.  This host list would ideally work as \"multi-configuration\" kind of setup (hopefully people know what I'm talking about!).\r\n\r\n ---------\r\n\r\nThere could be alternative approaches that would be suitable for our scenarios, I will raise a separate issue for this.\r\n\r\n"}}
{"actor":{"display_login":"ppanyukov"}}