Debugging SSH setup.
This commit is contained in:
@@ -117,6 +117,9 @@ setup_ssh() {
|
||||
|
||||
echod "\n ➡️ Copying SSH key to target host '${TARGET_USER}@${LIVE_TARGET_IP}'..."
|
||||
|
||||
echo $LIVE_TARGET_IP
|
||||
echo $LIVE_TARGET_PASSWORD
|
||||
|
||||
if sshpass -p "${LIVE_TARGET_PASSWORD}" ssh-copy-id -o StrictHostKeyChecking=no -i "${TMP_EXTRA_PATH}/home/numbus-admin/.ssh/id_ed25519" "${TARGET_USER}@${LIVE_TARGET_IP}"; then
|
||||
echod "\n ✅ SSH key copied successfully"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user