Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"vagrant ssh" fails with "percent_expand: unknown key %b" #7863

Closed
trombik opened this issue Oct 4, 2016 · 1 comment · Fixed by reallyenglish/freebsd-ports#387 or #8786
Closed

Comments

@trombik
Copy link

trombik commented Oct 4, 2016

Vagrant version

Vagrant 1.8.7.dev

Host operating system

Ubuntu jessie/sid

Guest operating system

Ubuntu 12.04 LTS

Vagrantfile

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
  config.vm.box = "hashicorp/precise64"
end

Debug output

DEBUG ssh: Checking key permissions: /home/tomoyukis/github/trombik/foo%bar/vagrant/foo%bar/.vagrant/machines/default/virtualbox/private_key
 INFO ssh: Invoking SSH: ssh ["vagrant@127.0.0.1", "-p", "2201", "-o", "Compression=yes", "-o", "DSAAuthentication=yes", "-o", "LogLevel=FATAL", "-o", "IdentitiesOnly=yes", "-o", "StrictHostKeyChecking=no", "-o", "UserKnownHostsFile=/dev/null", "-i", "/home/tomoyukis/github/trombik/foo%bar/vagrant/foo%bar/.vagrant/machines/default/virtualbox/private_key"]
percent_expand: unknown key %b

Expected behavior

vagrant ssh --debug should succeed.

Actual behavior

ssh fails with "percent_expand: unknown key %b".

Steps to reproduce

mkdir foo%bar
cd foo%bar
vi Vagrantfile
vagrant up
vagrant ssh

References

trombik pushed a commit to reallyenglish/freebsd-ports that referenced this issue Oct 4, 2016
@trombik trombik changed the title "vagrant ssh" fails with ssh fails with "percent_expand: unknown key %b" "vagrant ssh" fails with "percent_expand: unknown key %b" Oct 4, 2016
@chrisroberts chrisroberts added this to the 1.9 milestone Oct 4, 2016
@ghost
Copy link

ghost commented Apr 1, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.