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
x/build/cmd/coordinator: ssh gomote proxy should support Windows buildlets #21150
Comments
The feature needs to be enabled and service needs to be set to start (or disabled and manually started) Install-WindowsFeature -Name 'Telnet-Server'
Set-Service -Name 'TlntSvr' -StartupType 'Automatic' It may be tricky to run this powershell from buildlet.exe. I can add this to sysprep1.ps1 and build a new version of the windows images easily. Only one builder type isn't build off of these images today (windows-386-gce). |
Excellent, thanks. I wouldn't worry about Rebuilding the images works. Feel free to do that whenever you'd like, if there's no way to run the powershell from buildlet.exe. We can't just run |
Guess not:
And MSDN docs say:
So I guess the code is there but not enabled to be enabled? |
Oh, there's also the |
Notes on disabling NTLM auth later: |
CL https://golang.org/cl/50954 mentions this issue. |
- Login/password is now: gopher / gopher. Now when you `./rdp` you will see the actual auto-started buildlet because you're joining the same session. - Enable telnet service in sysprep/startup - Update tooling to use all internal IPs for access - Create a telnet script to access builders - Disavle some unwanted services - Perform all provisioning in a startup script. The sysprep step was not necessary. - Roll image version number Related: golang/go#21150 Change-Id: I3ed0b1e992b30801a6bb14b4a6df83a326c22ef6 Reviewed-on: https://go-review.googlesource.com/50954 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Change https://golang.org/cl/51911 mentions this issue: |
Change https://golang.org/cl/51831 mentions this issue: |
Telnet is removed from Server 2016. Consistent SSH seems like more fun. Updates golang/go#21150 Change-Id: I4d1fc853f705b85e46392beb4e1232961ac9e2cd Reviewed-on: https://go-review.googlesource.com/51831 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
As of https://golang.org/cl/50750 the build coordinator has an ssh server to proxy to buildlets. (That was bug #19956)
We have Unix (ssh->ssh) and Plan 9 (ssh->drawterm) support, but no Windows story.
How do we get a "shell" (cmd.exe session) on a remote Windows machine?
https://technet.microsoft.com/en-us/library/cc732046(v=ws.10).aspx suggests there's a Windows Telnet Server.
Telnet would be perfect. We're already running in an isolated network, so internal security isn't important. The ssh server will still be secure to the public.
@johnsonj, without modifying all our Windows images, is there a programmatic way for the buildlet binaries to enable the Telnet server at runtime?
The text was updated successfully, but these errors were encountered: