From 482883ec979023c6e7bfaff41e20fffa9dbb9824 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Wed, 7 May 2025 08:40:53 -0600 Subject: [PATCH] migrate: Update password auth --- usr/local/share/bastille/migrate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/migrate.sh b/usr/local/share/bastille/migrate.sh index 6640e1f6..9996d7fb 100644 --- a/usr/local/share/bastille/migrate.sh +++ b/usr/local/share/bastille/migrate.sh @@ -115,7 +115,7 @@ validate_host_status() { # Host SSH check if [ "${OPT_PASSWORD}" -eq 1 ]; then - if ! ${_sshpass_cmd} ssh -o PubkeyAuthentication=no -o PreferredAuthentications=password ${_user}@${_host} exit >/dev/null 2>/dev/null; then + if ! ${_sshpass_cmd} ssh ${_user}@${_host} exit >/dev/null 2>/dev/null; then error_notify "[ERROR]: Could not establish ssh connection to host." error_notify "Please make sure the remote host supports password based authentication" error_exit "and you are using the correct password for user: '${_user}'"