{"action":"closed","issue":{"url":"https://api.github.com/repos/juju-solutions/vpe-router/issues/20","repository_url":"https://api.github.com/repos/juju-solutions/vpe-router","labels_url":"https://api.github.com/repos/juju-solutions/vpe-router/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/juju-solutions/vpe-router/issues/20/comments","events_url":"https://api.github.com/repos/juju-solutions/vpe-router/issues/20/events","html_url":"https://github.com/juju-solutions/vpe-router/issues/20","id":131255084,"number":20,"title":"SSH proxy should be optional","user":{"login":"marcoceppi","id":70613,"avatar_url":"https://avatars.githubusercontent.com/u/70613?v=3","gravatar_id":"","url":"https://api.github.com/users/marcoceppi","html_url":"https://github.com/marcoceppi","followers_url":"https://api.github.com/users/marcoceppi/followers","following_url":"https://api.github.com/users/marcoceppi/following{/other_user}","gists_url":"https://api.github.com/users/marcoceppi/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoceppi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoceppi/subscriptions","organizations_url":"https://api.github.com/users/marcoceppi/orgs","repos_url":"https://api.github.com/users/marcoceppi/repos","events_url":"https://api.github.com/users/marcoceppi/events{/privacy}","received_events_url":"https://api.github.com/users/marcoceppi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"AdamIsrael","id":125008,"avatar_url":"https://avatars.githubusercontent.com/u/125008?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamIsrael","html_url":"https://github.com/AdamIsrael","followers_url":"https://api.github.com/users/AdamIsrael/followers","following_url":"https://api.github.com/users/AdamIsrael/following{/other_user}","gists_url":"https://api.github.com/users/AdamIsrael/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamIsrael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamIsrael/subscriptions","organizations_url":"https://api.github.com/users/AdamIsrael/orgs","repos_url":"https://api.github.com/users/AdamIsrael/repos","events_url":"https://api.github.com/users/AdamIsrael/events{/privacy}","received_events_url":"https://api.github.com/users/AdamIsrael/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-04T06:10:29Z","updated_at":"2016-02-15T17:26:06Z","closed_at":"2016-02-15T17:26:06Z","body":"If SSH credentials aren't provided, subprocess should be used. I'm imagining somewhere around https://github.com/juju-solutions/vpe-router/blob/master/lib/charms/router.py#L44 checking config for the keys, if an explicit match to the keys needed (host, user, pass) proxy request.\r\n\r\n```\r\nif (keys are good):\r\n    return do_ssh()\r\n\r\nreturn subprocess\r\n```"}}