Skip to content

Commit

Permalink
Setup IdentitiesOnly as yes in ssh config
Browse files Browse the repository at this point in the history
  • Loading branch information
championshuttler authored and roboquat committed Dec 22, 2021
1 parent e06304b commit d8e1eaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/local-app/pkg/bastion/bastion.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func (s *SSHConfigWritingCallback) InstanceUpdate(w *Workspace) {
&ssh_config.KV{Key: "User", Value: "gitpod"},
&ssh_config.KV{Key: "Port", Value: port},
&ssh_config.KV{Key: "IdentityFile", Value: ws.SSHPrivateFN},
&ssh_config.KV{Key: "IdentitiesOnly", Value: "yes"},
},
})
}
Expand Down

0 comments on commit d8e1eaa

Please sign in to comment.