File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
share/github-backup-utils Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ is_binary_backup_feature_on(){
38
38
ghe-ssh " $GHE_HOSTNAME " ghe-config --true " mysql.backup.binary"
39
39
}
40
40
41
- ssh_config_file_opt=" "
41
+ ssh_config_file_opt=
42
42
if $CLUSTER ; then
43
43
ghe_mysql_master=$( ghe-ssh " $GHE_HOSTNAME " ghe-config " cluster.mysql-master" )
44
44
if [ -z $ghe_mysql_master ]; then
@@ -48,7 +48,6 @@ if $CLUSTER ; then
48
48
tempdir=$( mktemp -d -t backup-utils-restore-XXXXXX)
49
49
ssh_config_file=" $tempdir /ssh_config"
50
50
ssh_config_file_opt=" -F $ssh_config_file "
51
- opts=" $opts -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PasswordAuthentication=no"
52
51
ghe-ssh-config " $GHE_HOSTNAME " " $ghe_mysql_master " > " $ssh_config_file "
53
52
port=$( ssh_port_part " $GHE_HOSTNAME " )
54
53
ghe_mysql_master=$ghe_mysql_master ${port: +: $port }
You can’t perform that action at this time.
0 commit comments