Skip to content

Commit

Permalink
don't disable SSH host key checking
Browse files Browse the repository at this point in the history
let the user deal with host key checking.
  • Loading branch information
JamesClonk authored Aug 5, 2018
1 parent 3680bab commit 267be0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/commands_ssh_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
func connectSSH(user, host, key string, port int) {
args := []string{
"-p", fmt.Sprintf("%d", port),
"-o", "UserKnownHostsFile=/dev/null",
"-o", "StrictHostKeyChecking=no",
// "-o", "UserKnownHostsFile=/dev/null",
// "-o", "StrictHostKeyChecking=no",
"-o", "LogLevel=quiet",
fmt.Sprintf("%s@%s", user, host),
}
Expand Down

0 comments on commit 267be0d

Please sign in to comment.