jedi4ever/veewee — pull request #762 by mpapis (2014-10-02 02:11:39+00:00)
Title: ssh key login not working

The` :ssh_key => ""` option in `definition.rb` doesn't work.

I've poked around in the source and it doesn't seem to be being used in calls to `Net::SSH.start()` .

Per the documentation on http://net-ssh.github.io/ssh/v1/chapter-2.html#s3 , :keys is supposed to work like so:

> "This specifies the list of private key files to use instead of the defaults ($HOME/.ssh/id_dsa, $HOME/.ssh2/id_dsa, $HOME/.ssh/id_rsa, and $HOME/.ssh2/id_rsa). The value of this option should be an array of strings."

I'm interested in using this to log into my newly-minted veewee virtual machine because I want to create a passwordless login with only ssh keys to log in.

I'm using a different name for my private keyfile then id_rsa since my small team will be sharing this same private key.

I tried to fix this myself and make a patch but couldn't get anything working. Perhaps this is because I don't really understand how ssh and ssh keys work.

Am I just using this option incorrectly?