Where does putty store it’s known_hosts? I asked myself this question today after battling a git extensions bug where you can’t type in the console window and as a result can’t add the host to the known hosts. The answer: HKEY_CURRENT_USER\SoftWare\SimonTatham\PuTTY\SshHostKeys To manually add hosts, use plink. plink.exe yourservername Hope it helps you.
Open the extension and go to the developer console (Press F12). Go to the console tab and type: term_.command.removeKnownHostByIndex(index) To clear a specific known host. Or type term_.command.removeAllKnownHosts() to clear all known hosts.
Today I needed to transfer a WordPress site from one server to another. This proved more difficult then I tough. The new server is running an Nginx that serves as a reverse proxy to an Apache. The latter does, for example all the php stuff. It also serves only SSL pages and redirects all traffic on port 80 to 443. After a lot of “google’ing” and trial and error, this was what I needed to configure in the wp-config.php file….
I learned a neat trick lately that has to do with SSH. If you are like me and use secure shell to connect to a remote box or for git push/pulls then you most likely be interested in this next little configuration file. As you probably know, all your ssh configurations and keys probably reside in the .ssh folder of your home directory. Go to this directory and use vim to create a file named config. vim ~/.ssh/config Lets add…