{"action":"created","issue":{"url":"https://api.github.com/repos/akerl/hss/issues/33","labels_url":"https://api.github.com/repos/akerl/hss/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/akerl/hss/issues/33/comments","events_url":"https://api.github.com/repos/akerl/hss/issues/33/events","html_url":"https://github.com/akerl/hss/issues/33","id":66417144,"number":33,"title":"MoSH Support?","user":{"login":"FelicianoTech","id":6017470,"avatar_url":"https://avatars.githubusercontent.com/u/6017470?v=3","gravatar_id":"","url":"https://api.github.com/users/FelicianoTech","html_url":"https://github.com/FelicianoTech","followers_url":"https://api.github.com/users/FelicianoTech/followers","following_url":"https://api.github.com/users/FelicianoTech/following{/other_user}","gists_url":"https://api.github.com/users/FelicianoTech/gists{/gist_id}","starred_url":"https://api.github.com/users/FelicianoTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FelicianoTech/subscriptions","organizations_url":"https://api.github.com/users/FelicianoTech/orgs","repos_url":"https://api.github.com/users/FelicianoTech/repos","events_url":"https://api.github.com/users/FelicianoTech/events{/privacy}","received_events_url":"https://api.github.com/users/FelicianoTech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-05T08:38:44Z","updated_at":"2015-04-05T12:44:11Z","closed_at":null,"body":"Would MoSH support be something doable for HSS?\r\n\r\nParticularly because currently I have a few servers behind a NAT where I'm using a customer SSH port as well as a custom MoSH port range. HSS magic would be awesome."},"comment":{"url":"https://api.github.com/repos/akerl/hss/issues/comments/89764536","html_url":"https://github.com/akerl/hss/issues/33#issuecomment-89764536","issue_url":"https://api.github.com/repos/akerl/hss/issues/33","id":89764536,"user":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?v=3","gravatar_id":"","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T12:44:11Z","updated_at":"2015-04-05T12:44:11Z","body":"I've not used MoSH personally, but HSS is basically just doing regex magic on the first thing that looks like a hostname.\r\n\r\nRight now, it hardcodes \"ssh \" as the beginning of the thing it executes, but that's easy enough to change:\r\n\r\nhttps://github.com/akerl/hss/blob/master/bin/hss#L19\r\n\r\nI'd probably make the SSH_COMMAND configurable in the .hss.yml, and have HSS_DEBUG just prepend an echo to it.\r\n\r\nWould having it run `mosh {long_form_from_config_file}` work?"}}