Skip to content
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

cmd/go: test prompts to authenticate #33883

bcmills opened this issue Aug 27, 2019 · 2 comments


Copy link

commented Aug 27, 2019

When running go test cmd/go/... for the first time on a new machine, I saw an ssh prompt on the terminal:

The authenticity of host ' (' can't be established.
ECDSA key fingerprint is SHA256:[…].
Are you sure you want to continue connecting (yes/no)? yes

Perhaps we can add a known_hosts file somewhere in cmd/go/testdata and set some environment variable to suppress the prompt?

(See also #27494.)

CC @hanwen @FiloSottile @jayconrod

@bcmills bcmills added this to the Go1.14 milestone Aug 27, 2019


This comment has been minimized.

Copy link

commented Aug 28, 2019

prompt looks as if it comes from openssh and not Go SSH, so unsubscribing.


This comment has been minimized.

Copy link

commented Aug 28, 2019

I encountered the same, and it was pretty annoying as it stopped a long-running go test std cmd check until I went to appease openssh :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.