diff --git a/components/local-app/pkg/bastion/bastion.go b/components/local-app/pkg/bastion/bastion.go index 1a340a712ff09b..0899f3cbebe8df 100644 --- a/components/local-app/pkg/bastion/bastion.go +++ b/components/local-app/pkg/bastion/bastion.go @@ -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"}, }, }) }