Browsed by
Tag: SSH

PuTTY known_hosts

PuTTY known_hosts

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.

A WordPress site secured with SSL and running on an nginx as a reverse proxy to an Apache

A WordPress site secured with SSL and running on an nginx as a reverse proxy to an Apache

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….

Read More Read More

SSH config file

SSH config 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…

Read More Read More