Skip to content

Commit

Permalink
added timeout in ssh config
Browse files Browse the repository at this point in the history
  • Loading branch information
Code-Hex committed Feb 25, 2024
1 parent e8d5a75 commit 43adcff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/testhelper/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ func NewSshConfig(username, password string) *ssh.ClientConfig {
User: username,
Auth: []ssh.AuthMethod{ssh.Password(password)},
HostKeyCallback: ssh.InsecureIgnoreHostKey(),
Timeout: 5 * time.Second,
}
}

Expand Down

0 comments on commit 43adcff

Please sign in to comment.