Skip to content
This repository was archived by the owner on Jun 2, 2022. It is now read-only.

Commit 46ad9f0

Browse files
authored
Merge pull request #745 from MikaelSmith/gcloud-ssh-user
Specify canonical user for gcp instance exec
2 parents e7a358f + 8a61451 commit 46ad9f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/gcp/computeInst.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (c *computeInstance) Exec(ctx context.Context, cmd string, args []string,
134134

135135
identity := transport.Identity{
136136
Host: hostname,
137-
FallbackUser: user,
137+
User: user,
138138
IdentityFile: conf.privateKey,
139139
KnownHosts: conf.knownHosts,
140140
HostKeyAlias: hostKeyAlias(c.instance),

0 commit comments

Comments
 (0)