Git on Windows passwordless with plink

Manual way:

Use Git on Windows with a private key by using pagent, putty and plink

Or the automatic way:

When installing “git on windows” on the “Choosing the SSH executable” screen choose “Use (Tortoise)Plink” and browse for plink.exe.

stackoverflow answer

If you see the below message and it freezes the way to fix it is to open putty, type in the host name (like bitbucket.org), click open, click yes in the popup to cache the host key then close putty

The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 24:5e:d9:30:a7:96:92:f5:f1:f1:ff
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n) y

Notes:
pageant needs to be running and loged in with private key
windows

tags:
git windows ssh private key

Vagrant: Fix VT-x/AMD-V hardware acceleration

Operating System: Windows 7
Motherboard: asus z-97-ar
Intel CPU: Intel Core i7-4790K

Does your CPU support virtualization?

Download software https://www.grc.com/securable.htm

You must enable Virtualization in BIOS
Advvance -> CPU Configurations -> Intel Virtualization Technology -> enable

The reasons I had to enable VT-x was because when I “vagrant up” I received these error

1. In the command like it got stuck on “default: Warning: Connection timeout. Retrying…”

2. in Oracle Virtualbox:
“VT-x/AMD-V hardware acceleration is not available on your system. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.”

So to resolve that I need to enable VT-x and in my Vagrant file add

config.vm.provider :virtualbox do |vb|
  vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
end

Resources:
http://askubuntu.com/questions/41550/how-do-i-run-a-64-bit-guest-in-virtualbox#answer-41554

tags:
homestead laravel