{"action":"created","issue":{"url":"https://api.github.com/repos/liftoff/GateOne/issues/591","repository_url":"https://api.github.com/repos/liftoff/GateOne","labels_url":"https://api.github.com/repos/liftoff/GateOne/issues/591/labels{/name}","comments_url":"https://api.github.com/repos/liftoff/GateOne/issues/591/comments","events_url":"https://api.github.com/repos/liftoff/GateOne/issues/591/events","html_url":"https://github.com/liftoff/GateOne/issues/591","id":144272288,"number":591,"title":"Autologin URL not working?","user":{"login":"bitency","id":18144539,"avatar_url":"https://avatars.githubusercontent.com/u/18144539?v=3","gravatar_id":"","url":"https://api.github.com/users/bitency","html_url":"https://github.com/bitency","followers_url":"https://api.github.com/users/bitency/followers","following_url":"https://api.github.com/users/bitency/following{/other_user}","gists_url":"https://api.github.com/users/bitency/gists{/gist_id}","starred_url":"https://api.github.com/users/bitency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitency/subscriptions","organizations_url":"https://api.github.com/users/bitency/orgs","repos_url":"https://api.github.com/users/bitency/repos","events_url":"https://api.github.com/users/bitency/events{/privacy}","received_events_url":"https://api.github.com/users/bitency/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-29T13:55:12Z","updated_at":"2016-04-22T08:58:50Z","closed_at":null,"body":"I created a script to auto-login @ SSH but it's not working:\r\nIf i connect to the url with ?ssh=ssh://root@ipSSH  auto-login works perfect.\r\n\r\n`<script>\r\n      var url = 'https://ipGateone/gateone';\r\n      scriptTag = document.createElement('script');\r\n      scriptTag.src = url + '/static/gateone.js';\r\n      scriptTag.onload = function() {                \r\n         GateOne.init({\r\n            url:url,\r\n            embedded:false,\r\n            disableTermTransitions:true,\r\n            showTitle:false,\r\n            showToolbar:false,\r\n            fillContainer:true,\r\n            colors:'gnome-terminal',\r\n            autoConnectURL:'ssh://root@ipSSH:22'\r\n         });\r\n      }\r\n      document.body.appendChild(scriptTag);           \r\n   </script>\r\n`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/liftoff/GateOne/issues/comments/213338905","html_url":"https://github.com/liftoff/GateOne/issues/591#issuecomment-213338905","issue_url":"https://api.github.com/repos/liftoff/GateOne/issues/591","id":213338905,"user":{"login":"bitency","id":18144539,"avatar_url":"https://avatars.githubusercontent.com/u/18144539?v=3","gravatar_id":"","url":"https://api.github.com/users/bitency","html_url":"https://github.com/bitency","followers_url":"https://api.github.com/users/bitency/followers","following_url":"https://api.github.com/users/bitency/following{/other_user}","gists_url":"https://api.github.com/users/bitency/gists{/gist_id}","starred_url":"https://api.github.com/users/bitency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitency/subscriptions","organizations_url":"https://api.github.com/users/bitency/orgs","repos_url":"https://api.github.com/users/bitency/repos","events_url":"https://api.github.com/users/bitency/events{/privacy}","received_events_url":"https://api.github.com/users/bitency/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T08:58:50Z","updated_at":"2016-04-22T08:58:50Z","body":"You can create a new terminal and use the function sendString to auto-login @ SSH.\r\n\r\n"}}