{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/27669","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/27669/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/27669/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/27669/events","html_url":"https://github.com/saltstack/salt/issues/27669","id":109742274,"number":27669,"title":"Please support ProxyCommand in salt-ssh roster","user":{"login":"guettli","id":414336,"avatar_url":"https://avatars.githubusercontent.com/u/414336?v=3","gravatar_id":"","url":"https://api.github.com/users/guettli","html_url":"https://github.com/guettli","followers_url":"https://api.github.com/users/guettli/followers","following_url":"https://api.github.com/users/guettli/following{/other_user}","gists_url":"https://api.github.com/users/guettli/gists{/gist_id}","starred_url":"https://api.github.com/users/guettli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guettli/subscriptions","organizations_url":"https://api.github.com/users/guettli/orgs","repos_url":"https://api.github.com/users/guettli/repos","events_url":"https://api.github.com/users/guettli/events{/privacy}","received_events_url":"https://api.github.com/users/guettli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Core","name":"Core","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Feature","name":"Feature","color":"009800"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Salt-SSH","name":"Salt-SSH","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":3061,"closed_issues":3599,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-05-09T12:49:56Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-10-05T07:16:59Z","updated_at":"2016-05-09T16:14:22Z","closed_at":null,"body":"According to the docs the ssh feature ProxyCommand is not available in roster:\r\n\r\nhttps://docs.saltstack.com/en/latest/topics/ssh/roster.html\r\n\r\nIt would be very nice to support this.\r\n\r\nThere are other tickets which contain \"ProxyCommand\":\r\n\r\n  * https://github.com/saltstack/salt/issues/9782 Add ssh gateway option to salt-cloud\r\n  * https://github.com/saltstack/salt/issues/19757 \r\n\r\nBTW, if there is a work-around to connect to a remote host which is only accessible via a \"hop machine\", please let me know.\r\n\r\nUp to now we use this:\r\n\r\nCreate a temporary ssh tunnel:\r\n```\r\nssh -L 2022:remote-host:22 hop-host\r\n```\r\nSpecify localhost, port=2022 in roster.\r\n\r\nThis works, but it is not nice.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/217911462","html_url":"https://github.com/saltstack/salt/issues/27669#issuecomment-217911462","issue_url":"https://api.github.com/repos/saltstack/salt/issues/27669","id":217911462,"user":{"login":"msummers42","id":8331623,"avatar_url":"https://avatars.githubusercontent.com/u/8331623?v=3","gravatar_id":"","url":"https://api.github.com/users/msummers42","html_url":"https://github.com/msummers42","followers_url":"https://api.github.com/users/msummers42/followers","following_url":"https://api.github.com/users/msummers42/following{/other_user}","gists_url":"https://api.github.com/users/msummers42/gists{/gist_id}","starred_url":"https://api.github.com/users/msummers42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msummers42/subscriptions","organizations_url":"https://api.github.com/users/msummers42/orgs","repos_url":"https://api.github.com/users/msummers42/repos","events_url":"https://api.github.com/users/msummers42/events{/privacy}","received_events_url":"https://api.github.com/users/msummers42/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T16:14:21Z","updated_at":"2016-05-09T16:14:21Z","body":"Does this help you @guettli @herry1234  ?"}}