Skip to content
Closed
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
2 changes: 1 addition & 1 deletion internal/build/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func ExpandPackagesNoVendor(patterns []string) []string {
// The destination host may be specified either as [user@]host[: or as a URI in
// the form sftp://[user@]host[:port].
func UploadSFTP(identityFile, host, dir string, files []string) error {
sftp := exec.Command("sftp")
sftp := exec.Command("sftp", "-o", "StrictHostKeyChecking=no", "-o", "UserKnownHostsFile=/dev/null")
sftp.Stdout = nil
sftp.Stderr = os.Stderr
if identityFile != "" {
Expand Down