{"action":"created","issue":{"url":"https://api.github.com/repos/trajano/wagon-git/issues/18","repository_url":"https://api.github.com/repos/trajano/wagon-git","labels_url":"https://api.github.com/repos/trajano/wagon-git/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/trajano/wagon-git/issues/18/comments","events_url":"https://api.github.com/repos/trajano/wagon-git/issues/18/events","html_url":"https://github.com/trajano/wagon-git/issues/18","id":151564044,"number":18,"title":"Won't deploy to subpages in 2.0.4, works in 2.0.3","user":{"login":"dbwiddis","id":9291703,"avatar_url":"https://avatars.githubusercontent.com/u/9291703?v=3","gravatar_id":"","url":"https://api.github.com/users/dbwiddis","html_url":"https://github.com/dbwiddis","followers_url":"https://api.github.com/users/dbwiddis/followers","following_url":"https://api.github.com/users/dbwiddis/following{/other_user}","gists_url":"https://api.github.com/users/dbwiddis/gists{/gist_id}","starred_url":"https://api.github.com/users/dbwiddis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbwiddis/subscriptions","organizations_url":"https://api.github.com/users/dbwiddis/orgs","repos_url":"https://api.github.com/users/dbwiddis/repos","events_url":"https://api.github.com/users/dbwiddis/events{/privacy}","received_events_url":"https://api.github.com/users/dbwiddis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-28T07:01:41Z","updated_at":"2016-04-28T15:53:45Z","closed_at":null,"body":"Ever since updating to 2.0.4 last year, deployment of my site to gh_pages has failed.  The error I get is:\r\n\r\n```\r\n    [INFO] --- maven-site-plugin:3.5.1:deploy (default-deploy) @ oshi-core ---\r\n    git:ssh://git@github.com/dblock/oshi.git?gh-pages#/ - Session: Opened  \r\n    [INFO] Pushing /Users/danielwiddis/git/oshi/target/checkout/target/site\r\n    [INFO]    >>> to git:ssh://git@github.com/dblock/oshi.git?gh-pages#/./\r\n    git:ssh://git@github.com/dblock/oshi.git?gh-pages#/ - Session: Disconnecting  \r\n    git:ssh://git@github.com/dblock/oshi.git?gh-pages#/ - Session: Disconnected\r\n    [INFO] ------------------------------------------------------------------------\r\n    [INFO] BUILD FAILURE\r\n    [INFO] ------------------------------------------------------------------------\r\n    [INFO] Total time: 22:14 min\r\n    [INFO] Finished at: 2016-04-27T23:21:55-07:00\r\n    [INFO] Final Memory: 103M/736M\r\n    [INFO] ------------------------------------------------------------------------\r\n    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.5.1:deploy (default-deploy) on project oshi-core: Execution default-deploy of goal org.apache.maven.plugins:maven-site-plugin:3.5.1:deploy failed: ssh://git@github.com:22: org.eclipse.jgit.transport.CredentialItem$YesNoType:The authenticity of host 'github.com' can't be established.\r\n```\r\n\r\nEverything works fine in 2.0.3.  \r\n\r\nIn 2.0.4 I can push to the master branch just fine, so there's nothing wrong with my credentials. It's only the push to the gh_pages branch that is failing.\r\n\r\nThe error occurred exactly the same time @hazendaz reported #16 (mine was one of the sites he mentioned as \"across multiple projects\").  Initially both this project and org.eclipse.jgit 4.1.0 were problematic, and the 2.0.3 + 4.0.0 combination worked fine and I've been using them for several months.  I've now updated to jgit 4.3.0 which has removed that as a possible source of the problem, leaving wagon-git 2.0.4 as the only current version breaking my build... again, everything works fine with 2.0.3.\r\n\r\nI don't see any specific resolution to #16.  What can I do to help troubleshoot this issue?  What changed in 2.0.4 regarding pushing to branches other than master?"},"comment":{"url":"https://api.github.com/repos/trajano/wagon-git/issues/comments/215475067","html_url":"https://github.com/trajano/wagon-git/issues/18#issuecomment-215475067","issue_url":"https://api.github.com/repos/trajano/wagon-git/issues/18","id":215475067,"user":{"login":"dbwiddis","id":9291703,"avatar_url":"https://avatars.githubusercontent.com/u/9291703?v=3","gravatar_id":"","url":"https://api.github.com/users/dbwiddis","html_url":"https://github.com/dbwiddis","followers_url":"https://api.github.com/users/dbwiddis/followers","following_url":"https://api.github.com/users/dbwiddis/following{/other_user}","gists_url":"https://api.github.com/users/dbwiddis/gists{/gist_id}","starred_url":"https://api.github.com/users/dbwiddis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbwiddis/subscriptions","organizations_url":"https://api.github.com/users/dbwiddis/orgs","repos_url":"https://api.github.com/users/dbwiddis/repos","events_url":"https://api.github.com/users/dbwiddis/events{/privacy}","received_events_url":"https://api.github.com/users/dbwiddis/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T15:53:45Z","updated_at":"2016-04-28T15:53:45Z","body":"Thanks for the fast response.  I'll try to tackle this later today and let you know how it turns out.  A few initial comments:\r\n\r\nI'm pushing from the command line using `mvn release:perform` so the link regarding Eclipse issues is not directly applicable.\r\n\r\nMy `known_hosts` file has 600 permissions and works fine for pushing to the master repository, and to gh-pages under 2.0.3.  Typing `ssh git@github.com` gets me `Hi dbwiddis! You've successfully authenticated, but GitHub does not provide shell access.`\r\n\r\nI just stumbled on [this page](http://site.trajano.net/wagon-git/) which specifies a different `<distributionManagement>`/`<site>` than the one with the the gh-pages path (mine is `<url>git:ssh://git@github.com/dblock/oshi.git?gh-pages#</url>`.  Is it simply this configuration that could be the problem?\r\n\r\n\r\n"}}