nickryand / vagrant-multi-putty

A vagrant plugin that uses putty for ssh. It also supports multiple vm environments.
MIT License
136 stars 20 forks source link

ssh key error #6

Closed guharakesh closed 10 years ago

guharakesh commented 10 years ago

I get the following error when running 'vagrant putty':

Unable to use key file "C:/Users/Rakesh/bookwork-app/["C:/Users/Rakesh/.vagrant.d/insecure_private_key"].ppk" (unable to open file)

Issue started after upgrading to Vagrant 1.4 and reinstalling the plugin.

This is my first issue submission, so please let me know if I left anything out!

nickryand commented 10 years ago

Thanks for the report! Let me try to reproduce this. I'll get back to you once I have tried it out myself.

On Wednesday, December 11, 2013, guharakesh wrote:

I get the following error when running 'vagrant putty':

Unable to use key file "C:/Users/Rakesh/bookwork-app/["C:/Users/Rakesh/.vagrant.d/insecure_private_key"].ppk" (unable to open file)

Issue started after upgrading to Vagrant 1.4 and reinstalling the plugin.

This is my first issue submission, so please let me know if I left anything out!

— Reply to this email directly or view it on GitHubhttps://github.com/nickryand/vagrant-multi-putty/issues/6 .

nickryand commented 10 years ago

I was able to reproduce this and I have a fix in progress. This issue stems from an update that allows config.ssh.private_key_path to take an array. It used to only accept a string.

I should have the update out tonight. As a workaround, if you define the config.putty.private_key_path as a single string, this error should go away.

nickryand commented 10 years ago

This should be fixed now. Thanks again for the report.

guharakesh commented 10 years ago

Thanks for the fix!