Sliim / pentest-env

Pentest environment deployer (kali linux + targets) using vagrant and chef.
http://sliim.github.io/pentest-env/
GNU General Public License v3.0
631 stars 169 forks source link

Unable to add ssh key #24

Closed tiferrei closed 8 years ago

tiferrei commented 8 years ago

Hi there, I tried adding the ssh key to get access to the vm, however, on vagrant up I always get:

Bringing machine 'kali' up with 'virtualbox' provider...
==> kali: Checking if box 'Sliim/kali-linux-2.0-amd64' is up to date...
==> kali: Clearing any previously set forwarded ports...
==> kali: Clearing any previously set network interfaces...
==> kali: Preparing network interfaces based on configuration...
    kali: Adapter 1: nat
==> kali: Forwarding ports...
    kali: 22 (guest) => 2222 (host) (adapter 1)
==> kali: Running 'pre-boot' VM customizations...
==> kali: Booting VM...
==> kali: Waiting for machine to boot. This may take a few minutes...
    kali: SSH address: 127.0.0.1:2222
    kali: SSH username: vagrant
    kali: SSH auth method: private key
    kali: Warning: Authentication failure. Retrying...
...

I am adding the private key to my host's ssh folder, am I doing something wrong?

Thank you, Tiago

tiferrei commented 8 years ago

Never mind, some weird problem with VB, fixed it, thanks!