{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/24522","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/24522/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/24522/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/24522/events","html_url":"https://github.com/saltstack/salt/issues/24522","id":86525276,"number":24522,"title":"salt-ssh - use defined user/identity for SSH connection","user":{"login":"eliasp","id":48491,"avatar_url":"https://avatars.githubusercontent.com/u/48491?v=3","gravatar_id":"","url":"https://api.github.com/users/eliasp","html_url":"https://github.com/eliasp","followers_url":"https://api.github.com/users/eliasp/followers","following_url":"https://api.github.com/users/eliasp/following{/other_user}","gists_url":"https://api.github.com/users/eliasp/gists{/gist_id}","starred_url":"https://api.github.com/users/eliasp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliasp/subscriptions","organizations_url":"https://api.github.com/users/eliasp/orgs","repos_url":"https://api.github.com/users/eliasp/repos","events_url":"https://api.github.com/users/eliasp/events{/privacy}","received_events_url":"https://api.github.com/users/eliasp/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/Fixed%20Pending%20Verification","name":"Fixed Pending Verification","color":"d4c5f9"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P3","name":"P3","color":"0a3d77"},{"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":2894,"closed_issues":3317,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-02-11T23:09:44Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-06-09T09:27:43Z","updated_at":"2016-02-11T23:10:48Z","closed_at":null,"body":"It should be possible to either define a user or a specific SSH identity which is used to establish the SSH connection.\r\n\r\nCurrently, my user `eliasp` provides the SSH identity (pub/private keypair) which I use to connect via SSH to various servers.\r\n`salt-ssh` needs to be run as `root` which means I have to make my identity available for the `root` user to be able to connect.\r\n\r\nIMHO salt-ssh should be able to:\r\n- establish the SSH connection using a defined local user\r\n- establish the SSH connection using a defined identity\r\n- establish the SSH connection using an existing ssh-agent\r\n\r\nThis would make salt-ssh way more comfortable to setup/use."},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/183095518","html_url":"https://github.com/saltstack/salt/issues/24522#issuecomment-183095518","issue_url":"https://api.github.com/repos/saltstack/salt/issues/24522","id":183095518,"user":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars.githubusercontent.com/u/6547906?v=3","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T23:10:48Z","updated_at":"2016-02-11T23:10:48Z","body":"Since the `ssh_priv: agent-forwarding` feature was added to 2015.8.0, I am going to close this issue. Unfortunately, this functionality still hasn't been documented. I opened a new issue (#31148) to track getting some documentation added. "}}