{"action":"created","issue":{"url":"https://api.github.com/repos/samnazarko/osmc/issues/103","labels_url":"https://api.github.com/repos/samnazarko/osmc/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/samnazarko/osmc/issues/103/comments","events_url":"https://api.github.com/repos/samnazarko/osmc/issues/103/events","html_url":"https://github.com/samnazarko/osmc/issues/103","id":57738810,"number":103,"title":"Announce SSH and SFTP services via Zeroconf/Avahi by default","user":{"login":"probonopd","id":2480569,"avatar_url":"https://avatars.githubusercontent.com/u/2480569?v=3","gravatar_id":"","url":"https://api.github.com/users/probonopd","html_url":"https://github.com/probonopd","followers_url":"https://api.github.com/users/probonopd/followers","following_url":"https://api.github.com/users/probonopd/following{/other_user}","gists_url":"https://api.github.com/users/probonopd/gists{/gist_id}","starred_url":"https://api.github.com/users/probonopd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/probonopd/subscriptions","organizations_url":"https://api.github.com/users/probonopd/orgs","repos_url":"https://api.github.com/users/probonopd/repos","events_url":"https://api.github.com/users/probonopd/events{/privacy}","received_events_url":"https://api.github.com/users/probonopd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-15T17:53:00Z","updated_at":"2015-02-15T18:48:02Z","closed_at":"2015-02-15T18:48:02Z","body":"The following files enable SSH and SFTP to be announced via Zeroconf/Avahi, so that one can log in over ssh from OS X Terminal without having to manually search for the IP address. Please install these files by default when SSH/SFTP services are enabled on the machine.\r\n\r\nThe `/etc/avahi/services/ssh.service` file is:\r\n\r\n```\r\n<?xml version=\"1.0\" standalone='no'?>\r\n<!DOCTYPE service-group SYSTEM \"avahi-service.dtd\">\r\n<service-group>\r\n  <name replace-wildcards=\"yes\">%h</name>\r\n  <service>\r\n    <type>_ssh._tcp</type>\r\n    <port>22</port>\r\n  </service>\r\n</service-group>\r\n```\r\n\r\nSimilarly, `/etc/avahi/services/sftp.service`wil announce the SFTP service:\r\n```\r\n<?xml version=\"1.0\" standalone='no'?>\r\n <!DOCTYPE service-group SYSTEM \"avahi-service.dtd\">\r\n <service-group>\r\n   <name replace-wildcards=\"yes\">%h</name>\r\n   <service>\r\n     <type>_sftp-ssh._tcp</type>\r\n     <port>22</port>\r\n     <txt-record>path=/path/to/be/accessed</txt-record>\r\n     <txt-record>u=osmc</txt-record>\r\n   </service>\r\n </service-group>\r\n```"},"comment":{"url":"https://api.github.com/repos/samnazarko/osmc/issues/comments/74430565","html_url":"https://github.com/samnazarko/osmc/issues/103#issuecomment-74430565","issue_url":"https://api.github.com/repos/samnazarko/osmc/issues/103","id":74430565,"user":{"login":"samnazarko","id":932652,"avatar_url":"https://avatars.githubusercontent.com/u/932652?v=3","gravatar_id":"","url":"https://api.github.com/users/samnazarko","html_url":"https://github.com/samnazarko","followers_url":"https://api.github.com/users/samnazarko/followers","following_url":"https://api.github.com/users/samnazarko/following{/other_user}","gists_url":"https://api.github.com/users/samnazarko/gists{/gist_id}","starred_url":"https://api.github.com/users/samnazarko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samnazarko/subscriptions","organizations_url":"https://api.github.com/users/samnazarko/orgs","repos_url":"https://api.github.com/users/samnazarko/repos","events_url":"https://api.github.com/users/samnazarko/events{/privacy}","received_events_url":"https://api.github.com/users/samnazarko/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T18:48:02Z","updated_at":"2015-02-15T18:48:02Z","body":"Thanks. This is now in:\r\n\r\n4198ba9"}}