hashicorp/vagrant · error

vagrant.rsync_ssh_password

Error message

vagrant.rsync_ssh_password

What it means

Error "vagrant.rsync_ssh_password" thrown in hashicorp/vagrant.

Source

Thrown at plugins/synced_folders/rsync/synced_folder.rb:47

      def prepare(machine, folders, opts)
        # Nothing is necessary to do before VM boot.
      end

      def enable(machine, folders, opts)
        if machine.guest.capability?(:rsync_installed)
          installed = machine.guest.capability(:rsync_installed)
          if !installed
            can_install = machine.guest.capability?(:rsync_install)
            raise Vagrant::Errors::RSyncNotInstalledInGuest if !can_install
            machine.ui.info I18n.t("vagrant.rsync_installing")
            machine.guest.capability(:rsync_install)
          end
        end

        ssh_info = machine.ssh_info

        if ssh_info[:private_key_path].empty? && ssh_info[:password]
          machine.ui.warn(I18n.t("vagrant.rsync_ssh_password"))
        end

        folders.each do |id, folder_opts|
          RsyncHelper.rsync_single(machine, ssh_info, folder_opts)
        end
      end

      # Enable rsync synced folders within WSL when in use
      # on non-DrvFs file systems
      def self.wsl_allow_non_drvfs?
        true
      end
    end
  end
end

View on GitHub (pinned to 35f3160f4a)

When it happens

Trigger: Thrown at plugins/synced_folders/rsync/synced_folder.rb:47 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of hashicorp/vagrant@35f3160f4a (2026-08-21). Data as JSON: /api/errors/7ec348abbd9e3b41. Report an issue: GitHub.