-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autologin URL not working? #591
Comments
It often happens when re-auto-login. Same to me. |
You can create a new terminal and use the function sendString to auto-login @ SSH. |
The workaround way isn't good enough. Have you find out how to fix it? |
We use SendString to auto-login @ SSH. Post your code. |
Well, when I login server, I want to resume the session. But sendString is not a good idea because sometimes after it resumes then what's in the sendString is output to the terminal. |
I created a script to auto-login @ SSH but it's not working:
If i connect to the url with ?ssh=ssh://root@ipSSH auto-login works perfect.
<script> var url = 'https://ipGateone/gateone'; scriptTag = document.createElement('script'); scriptTag.src = url + '/static/gateone.js'; scriptTag.onload = function() { GateOne.init({ url:url, embedded:false, disableTermTransitions:true, showTitle:false, showToolbar:false, fillContainer:true, colors:'gnome-terminal', autoConnectURL:'ssh://root@ipSSH:22' }); } document.body.appendChild(scriptTag); </script>
The text was updated successfully, but these errors were encountered: