Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Set IdentitiesOnly option when configuring ssh #237

Merged
merged 1 commit into from
Feb 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions internal/cmd/configssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ func makeSSHConfig(host, userName, envName, privateKeyFilepath string) string {
User %s-%s
StrictHostKeyChecking no
ConnectTimeout=0
IdentitiesOnly yes
IdentityFile="%s"
ServerAliveInterval 60
ServerAliveCountMax 3
Expand Down