{"record":{"id":"cc2ddf35767340ee","repo":"hashicorp/vagrant","slug":"the-key-paranoid-is-deprecated-please-use-veri","errorCode":null,"errorMessage":"The key `paranoid` is deprecated. Please use `verify_host_key`. Supported\nvalues are exactly the same, only the name of the option has changed.","messagePattern":"The key `paranoid` is deprecated\\. Please use `verify_host_key`\\. Supported\nvalues are exactly the same, only the name of the option has changed\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"plugins/kernel_v2/config/ssh_connect.rb","lineNumber":145,"sourceCode":"            if !File.file?(path)\n              errors << I18n.t(\n                \"vagrant.config.ssh.private_key_missing\",\n                path: raw_path)\n            end\n          end\n        end\n\n        if @config\n          config_path = File.expand_path(@config, machine.env.root_path)\n          if !File.file?(config_path)\n            errors << I18n.t(\n              \"vagrant.config.ssh.ssh_config_missing\",\n              path: @config)\n          end\n        end\n\n        if @paranoid\n          machine.env.ui.warn(I18n.t(\"vagrant.config.ssh.paranoid_deprecated\"))\n        end\n\n        if !@connect_timeout.is_a?(Integer)\n          errors << I18n.t(\n            \"vagrant.config.ssh.connect_timeout_invalid_type\",\n            given: @connect_timeout.class.name)\n        elsif @connect_timeout < 1\n          errors << I18n.t(\n            \"vagrant.config.ssh.connect_timeout_invalid_value\",\n            given: @connect_timeout.to_s)\n        end\n\n        if !@connect_retries.is_a?(Integer)\n          errors << I18n.t(\n            \"vagrant.config.ssh.connect_retries_invalid_type\",\n            given: @connect_retries.class.name\n          )\n        elsif @connect_retries < 0","sourceCodeStart":127,"sourceCodeEnd":163,"githubUrl":"https://github.com/hashicorp/vagrant/blob/35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5/plugins/kernel_v2/config/ssh_connect.rb#L127-L163","documentation":"config.ssh.paranoid is the old name for config.ssh.verify_host_key: in finalize! the paranoid value is copied into verify_host_key, and during validation any truthy paranoid setting prints this deprecation warning. Supported values are exactly the same; only the option name changed.","triggerScenarios":"A Vagrantfile containing `config.ssh.paranoid = ...` with any truthy value (the UNSET default resolves to false and stays silent).","commonSituations":"Vagrantfiles written for older Vagrant versions; copy-pasted snippets from old tutorials or team wikis; upgrades to current Vagrant releases.","solutions":["Rename the key: `config.ssh.paranoid = X` becomes `config.ssh.verify_host_key = X` with the same value","Remove the line entirely if the default host key verification is acceptable","Search the project for other deprecated ssh options while you are at it (grep -n paranoid Vagrantfile)"],"exampleFix":"# before\nconfig.ssh.paranoid = true\n# after\nconfig.ssh.verify_host_key = true","handlingStrategy":"validation","validationCode":"# Preflight lint before running Vagrant\ngrep -n \"paranoid\" Vagrantfile && echo \"rename paranoid to verify_host_key\"","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Write new configs with verify_host_key only","Lint Vagrantfiles for paranoid when inheriting old projects","Values transfer 1:1, so rename without changing the value"],"tags":["vagrant","ssh","deprecated","host-key"],"backgroundTag":"deprecated-config-key","analyzedSha":"35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5","analyzedAt":"2026-08-21T13:34:32.514Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}